Closed
Bug 413634
Opened 17 years ago
Closed 17 years ago
SVG xml:space="preserve" not working
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 319786
People
(Reporter: jochen447, Unassigned)
Details
Attachments
(1 file)
(deleted),
image/svg+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
I have a SVG authoring application which needs to write SVG <text> data containing *significant* white spaces. As per SVG spec [1] a compliant SVG renderer is required to not "eat" them up if I use xml:space='preserve' on that <text> element.
[1] http://www.w3.org/TR/SVG11/text.html#WhiteSpace
Reproducible: Always
Steps to Reproduce:
Open & display attached SVG file "whitespace.svg".
Actual Results:
"10 spaces apart!"
Expected Results:
" 10 spaces apart!"
Are there any known work-arounds my application could use (possibly masking all significant white-space characters)?
I feel like this bug could have something to do with bug id 314014
https://bugzilla.mozilla.org/show_bug.cgi?id=314014
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Updated•17 years ago
|
Attachment #298698 -
Attachment description: example using xml:space="preserve" → whitespace.svg - example using xml:space="preserve"
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 3•17 years ago
|
||
(In reply to comment #2)
>
> *** This bug has been marked as a duplicate of bug 319786 ***
>
Robert,
sorry, I wasn't able to find the duplicate [319786].
Can you tell me which Firefox version includes the fix?
I'm using the latest "official" Firefox release (no snapshot version) and it still fails... (or am I missing something here?)
Jochen
Comment 4•17 years ago
|
||
This is explained in bug 319786 comment 41 Download a firefox 3 beta or nightly to see it working.
You need to log in
before you can comment on or make changes to this bug.
Description
•