Closed
Bug 334661
Opened 19 years ago
Closed 19 years ago
xml:space="preserve" ignored when rendering text element content
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 319786
People
(Reporter: martin.honnen, Unassigned)
References
()
Details
I think <http://www.w3.org/TR/SVG11/text.html#WhiteSpace> is rather clear that white space should not be stripped and not collapsed if xml:space="preserve" is indicated on an SVG text element but with Firefox it seems xml:space="preserve" is ignored and sequences of white space are collapsed to one space.
Test case at
<http://home.arcor.de/martin.honnen/mozillaBugs/SVG/textXmlSpacePreserve1.svg>
has three SVG text elements where the last one has xml:space="preserve" as an attribute but Firefox (latest nightly on Windows XP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060419 Firefox/3.0a1) renders all three elements the same as e.g.
Kibo & Xibo
while the last should be rendered as
Kibo & Xibo
Comment 1•19 years ago
|
||
*** This bug has been marked as a duplicate of 319786 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•