- From: Brian Kardell <bkardell@gmail.com>
- Date: Tue, 25 Oct 2011 09:40:02 -0400
- To: Øyvind Stenhaug <oyvinds@opera.com>
- Cc: Boris Zbarsky <bzbarsky@mit.edu>, Bjoern Hoehrmann <derhoermi@gmx.net>, www-style list <www-style@w3.org>
Just wondering if there has been any further action/discussion on this? I don't see any updates or errata on any of the selector version recs/drafts and the conversation seems to have dropped off. On Thu, Oct 20, 2011 at 5:59 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote: > On Thu, 20 Oct 2011 04:35:28 +0200, Bjoern Hoehrmann <derhoermi@gmx.net> > wrote: > >> * 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. > > The last paragraph in section 6.5 says > > "If an element has multiple ID attributes, all of them must be treated as > IDs for that element for the purposes of the ID selector. Such a situation > could be reached using mixtures of xml:id, DOM3 Core, XML DTDs, and > namespace-specific knowledge." > > That's one element with multiple ID attributes, not one ID attribute where > the same value occurs for multiple elements. > > -- > Øyvind Stenhaug > Core Norway, Opera Software ASA > >
Received on Tuesday, 25 October 2011 13:40:31 UTC