[CSS21] Errata to disallow 'inherit' after comma in 'font-family'

Hello,

{
   Tab: 2.1 in font-family is less strict than we probably
   intended.
   ... It potentially allows 'inherit' after comma in font-family.

   <Elika>
   [12]http://lists.w3.org/Archives/Public/www-style/2012Apr/0638.html

   Tab: We would like a modification to disallow 'inherit'.

   <David Baron> sounds good to me

   <John> errata only, for now, correct?

   <David Baron> (to disallow inherit anywhere within a
   font-family value)

   <David Baron> inherit keyword, that is

   RESOLUTION: errata 2.1 to disallow 'inherit' after comma in
   'font-family'
}

1-
This test
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/font-family-rule-004.htm
is still correct. Am I wrong here?

2-
div {font-family: "inherit", serif;} /* still valid */

div {font-family: fooinherit, serif;} /* still valid */

div {font-family: foo, bar inherit, serif;} /* now invalid */

div {font-family: foo, barinheritbox, serif;} /* now invalid */

div {font-family: bar inherit, foo, serif;} /* still valid */

Are those /* comments */ wrt validity correct?

3- I am still unsure here about what was resolved and how it was
discussed. To disallow 'inherit' after comma is one thing; to disallow the
string 'inherit' anywhere in a font-family is another.

Just trying to understand this...

Tab, FYI, I will close the bug report
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16848
as soon as I get all this right.

I also want to update
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/font-family-rule-004a.xht
accordingly.

regards, Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Wednesday, 2 May 2012 19:43:35 UTC