- From: <bugzilla@jessica.w3.org>
- Date: Wed, 25 Apr 2012 00:22:53 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16848 Summary: {font-family: inherit foo;} is parsed and reported as invalid Product: CSSValidator Version: CSS Validator Platform: PC OS/Version: All 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 URL for Test ------------ http://jigsaw.w3.org/css-validator/validator?uri=http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-family-inherit-foo.html&warning=2&profile=css21&usermedium=all Actual result ------------- CSS validator reports this validation error message: " Value Error : font-family Too many values or values are not recognized : inherit foo " Expected result --------------- inherit foo should be treated as an unquoted font name with one blank white space which should be parsed as "inherit foo" " If a sequence of identifiers is given as a font family name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. " http://www.w3.org/TR/CSS21/fonts.html#font-family-prop Additional notes ---------------- 1- div {font-family: foo inherit;} is parsed and reported as valid by the CSS validator. 2- This edge case has been discussed in the thread [css21] 'font-family' should disallow 'inherit' in font names more strictly" http://lists.w3.org/Archives/Public/www-style/2012Apr/0662.html 3- Credits must go to Kang-Hao (Kenny) Lu for discovering this GĂ©rard -- Configure bugmail: https://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 Wednesday, 25 April 2012 00:22:56 UTC