Closed
Bug 250420
Opened 20 years ago
Closed 20 years ago
Line breaks \A in auto-generated content don't work with white-space:nowrap
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: alex.urban, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040614 Firefox/0.9 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040614 Firefox/0.9 As http://www.w3.org/TR/REC-CSS2/generate.html#content defines, \A should be handled as a "forced line break" (like <br>), but <p style="white-space:nowrap">a<br>b </p> is rendered different from <style type="text/css"> p:before { content:'a\Ab'; white-space:nowrap;}</style> <p> </p> Reproducible: Always Steps to Reproduce: 1. Insert above code into empty (Standards Mode) HTML 4 document. 2. Open document in Firefox/Mozilla. Actual Results: The document was rendered different from the document in Opera 7.52; thus I googled for the standard to find out where to report the bug ;-) Expected Results: Both browsers should have rendered the page similarly. Workaround found: Use white-space:pre;
*** This bug has been marked as a duplicate of 17646 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•