Bug 655877 - Part 23b: Add UA style sheet rules to map xml:space='preserve' to white-space:-moz-pre-discard-newlines on SVG text elements. r=jwatt

This commit is contained in:
Cameron McCormack 2012-10-04 07:32:35 +10:00
parent 06bcd8e413
commit 3fcef2abc9

View File

@ -5,6 +5,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url(http://www.w3.org/2000/svg);
@namespace xml url(http://www.w3.org/XML/1998/namespace);
style, script, symbol {
display: none;
@ -60,3 +61,7 @@ foreignObject {
*|*::-moz-svg-text {
unicode-bidi: inherit;
}
*[xml|space=preserve] {
white-space: -moz-pre-discard-newlines;
}