- From: <bugzilla@wiggum.w3.org>
- Date: Sun, 24 Apr 2005 20:18:24 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1269 Summary: color: rgb(real, int, int) should be reported as an error Product: CSSValidator Version: CSS Validator Platform: PC URL: http://www.gtalbot.org/BrowserBugsSection/MSIE6Bugs/Pars ingRGB.html OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: CSS 1.0 AssignedTo: ot@w3.org ReportedBy: info@gtalbot.org QAContact: www-validator-cvs@w3.org "illegal values, *_or values with illegal parts_*, are treated as if the declaration weren't there at all" CSS 1, section 7.1 Forward-compatible parsing http://www.w3.org/TR/CSS1#forward-compatible-parsing "Illegal values. User agents must ignore a declaration with an illegal value." CSS 2.1, section 4.2 Rules for handling parsing errors http://www.w3.org/TR/CSS21/syndata.html#parsing-errors "Unsupported ValuesIf a UA does not support a particular value, it should ignore that value when parsing stylesheets, as if that value was an illegal value." CSS3, section 5. Rules for handling parsing errors or unsupported features http://www.w3.org/TR/2003/WD-css3-syntax-20030813/#error-handling Actual results: The CSS validator truncates the illegal part and does not report any parsing error. Expected results: The CSS validator should report the error and notify accordingly that only integer value in the 0 - 255 range are valid. Note: Safari 1.2+ and Mozilla-based browsers will parse a real value as an error and will apply error condition to the declaration.
Received on Sunday, 24 April 2005 20:18:29 UTC