- From: <bugzilla@wiggum.w3.org>
- Date: Sun, 02 Nov 2008 21:22:30 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6203 Summary: Escape of new line inside a string with backslash Product: CSSValidator Version: CSS Validator Platform: PC URL: http://jigsaw.w3.org/css- validator/validator?uri=http://www.gtalbot.org/BrowserBu gsSection/MSIE8Bugs/escape-newline-with-backslash- inside- string.html&warning=2&profile=css21&usermedium=all OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: CSS 2.1 AssignedTo: dave.null@w3.org ReportedBy: info@gtalbot.org QAContact: www-validator-cvs@w3.org Relevant code involved ---------------------- <style type="text/css"> #test { background-color: red; background-color: gre\ en; color: white; } </style> (...) <p id="test">This line should be green.</p> Testcase URL ------------ http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/escape-newline-with-backslash-inside-string.html CSS validation report: --------------------- http://jigsaw.w3.org/css-validator/validator?uri=http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/escape-newline-with-backslash-inside-string.html&warning=2&profile=css21&usermedium=all which reports Line 44 #test Value Error : background-color Lexical error at line 5, column 25. Encountered: "\n" (10), after : "\\" gre en; Relevant CSS 2.1 spec involved ------------------------------ " (...) inside a string, a backslash followed by a newline is ignored (i.e., the string is deemed not to contain either the backslash or the newline). " coming from CSS 2.1, section 4.1.3 Characters and case http://www.w3.org/TR/CSS21/syndata.html#characters Notes ----- - I have searched for a duplicate and did not find any - So far, only Gecko-based browsers (Firefox 3.0.3 rv: 1.9.0.3 build 2008092417, Netscape 7.2 rv:1.7.2 build 20040804, Seamonkey 2.0a2pre rv: 1.9.1b2pre build 20081031, K-meleon 1.51 rv:1.8.1.17 build 20080919) seem to comply/agree with my understanding of the CSS 2.1 spec involved. Regards, Gérard -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Sunday, 2 November 2008 21:22:40 UTC