Closed
Bug 292223
Opened 20 years ago
Closed 20 years ago
New lines in CSS string not recognized (\A)
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: xanthor+bz, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b) Gecko/20050217 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050405 According to CSS 2.1 specs http://www.w3.org/TR/CSS21/syndata.html#strings "\A" or "\00000a" in CSS strings should be considered as new lines. It isn't the case with Gecko Reproducible: Always Steps to Reproduce: 1. Open the test URL or 2. Test with the code : <?xml version="1.0" ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> div:before { content: "|\00000a|\A|" } </style> </head> <body> <div>...</div> <div>---</div> </body> </html> Actual Results: The 3 "|" generated by :before are on the same lie Expected Results: One "|" by line Verified also with Moz 1.8b1, and on GNU/Linux and Windows XP®
Comment 1•20 years ago
|
||
INVALID. But this is a duplicate. You need white-space:pre.
| Reporter | ||
Comment 2•20 years ago
|
||
You're right ->INVALID Sorry ;¬)
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•