- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Mon, 24 Mar 2014 13:59:29 +0100
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- Cc: Rune Lillesveen <rune@opera.com>, www-style list <www-style@w3.org>
* Tab Atkins Jr. wrote: >On Mon, Mar 17, 2014 at 8:07 AM, Rune Lillesveen <rune@opera.com> wrote: >> The text in [1] is at best unclear about the fact that :ancestor >> actually selects the shadow host and not the ancestor matching the >> compound selector inside the pseudo function. I was confused about the >> meaning of :ancestor until I read [2] which is very clear about it: >> >> "The selector :ancestor(<selector>) matches the host element if it or >> any of its ancestors matches <selector>." >> >> Could the spec say something like that, given that it's correct? > >While I didn't edit it specifically in response to this email, the >spec currently has a definition almost identical to what you proposed, >so I'm gonna consider this fixed. ^_^ ><http://dev.w3.org/csswg/css-scoping/#selectordef-host-context> (I take it `:ancestor` is now `:host-context`). -- 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 Monday, 24 March 2014 12:59:59 UTC