Closed Bug 415743 Opened 17 years ago Closed 17 years ago

xml:preserve-space is does not apply to style sheets

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: giecrilj, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11 The document is a self-referential XSLT to HTML. It declares the SPAN element to be space-preserving but Firefox ignores this declaration and strips the space from within. Reproducible: Always Steps to Reproduce: 1.Navigate to the link. 2. Compare line #2 to line #3. 3. Select all and compare page source to selection source. Actual Results: emphaticstrong Expected Results: emphatic strong
Actually, xsl:preserve-space applies to source documents only, not to style sheet instructions. An easy workaround is described at the URL <http://meyerweb.com/eric/thoughts/2003b.html>.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.