W3C home > Mailing lists > Public > www-style@w3.org > October 2011

RE: [css3-*] Defining support for the inherit keyword

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Thu, 27 Oct 2011 23:53:07 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F01782903341B37@TK5EX14MBXC296.redmond.corp.microsoft.com>

[Tab Atkins Jr.:]
> 
> 
> My preference is to not have to mention anything - the global keywords are
> defined in Values & Units as applying to all properties, and we shouldn't
> have to worry about that detail otherwise (unless the property accepts
> arbitrary user-defined keywords, in which case you have to explicitly
> prevent those from being valid values).

Your preference as an editor is noted. The preference of those spec users 
who depend on them to implement features takes precedence. For the latter, 
incomplete syntax definitions are a problem.
 
Once one well-known drafts like B&B or Fonts or Color mention these keywords 
explicitly it's not at all unreasonable to assume a module that doesn't say 
anything about them to be doing so deliberately. If there are no benefits 
to risking this kind of confusion beyond convenience for the amazingly
tiny minority of people who write specs - though I very much doubt it's that 
significant - then it must be fixed.

> 
> I really don't want every property to have to include " | inherit |
> initial" in its value definition.
> 
If they are valid values of the property, I really couldn't care less about saving you
2 seconds of copy/paste time per property; assuming we can't automate this or put it in 
the base template to begin with.

I'm open to suggestions for what should/could be there to represent those values e.g. we 
could add a " | <core values>' link to the section in css3-values that covers all global
values. That would make the dependency of each property on these two values explicit and
would be fine. It could also be a separate row in the property definition table, right
under the property-specific values...Other suggestions welcome.

'Nothing because I'd rather do a little less work' is not acceptable though. 





Received on Thursday, 27 October 2011 23:53:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT