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

Re: [css3-selectors] Explanation of what an id is should be non-normative

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 20 Oct 2011 04:35:28 +0200
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style list <www-style@w3.org>
Message-ID: <7s1v975crqpt4nnupm20bihnr2qficvvbu@hive.bjoern.hoehrmann.de>
* Boris Zbarsky wrote:
>Oh, there's a problem in this case.  At least two people so far have 
>independently read this text to mean that in this testcase:
>
>   <style>
>     * { color: red }
>     #foo { color: green }
>   </style>
>   <div id="foo">Text</div>
>   <div id="foo">Text</div>
>
>should have a green first line and a red second line because the 
>requirement that IDs be unique is normative CSS requirement...

The last paragraph in the section defines how to handle this. If the
text or the organization of the paragraphs is confusing, then the text
should be changed so it's not confusing. Marking some sentences as not
normative is unlikely to do that; it would be better to move the para-
graph at the bottom before the example, for instance.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 20 October 2011 02:36:07 GMT

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