W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [selectors-nonelement] First draft of a new spec for selecting non-element nodes

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 13 Feb 2014 10:37:59 +0100
Message-ID: <52FC9277.2090008@disruptive-innovations.com>
To: www-style@w3.org
On 13/02/2014 09:59, Jirka Kosek wrote:
> Hi,
> I'm happy to announce that with Tab's help I was able to produce first
> draft of a spec defining way to select attributes from document as
> agreed in Shenzen F2F meeting
> (http://lists.w3.org/Archives/Public/www-style/2013Nov/0358.html).
> Spec is available at:
> http://dev.w3.org/csswg/selectors-nonelement/
> Any comments welcomed.

Excellent news, this was absolutely needed for ITS 2.0 to have
CSS-based ITS rules match the feature level of XPath-based ITS

Some comments:

- title of section 2.1 should be "Attribute node pseudo-element"

- I think the last sentence of section 2.1 should be clarified. Is the
   attribute node pseudo-element allowed in CSS stylesheets or not. Given
   the fact it is unlikely browsers will implement something that
   generates no boxes, I think that pseudo will remain invalid in CSS
   sheets to avoid the creation of the corresponding OM.

- I think you need a section 3 about Selectors API saying that the
   expectation is that non-element selectors will be usable in Selectors

Received on Thursday, 13 February 2014 09:38:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:40 UTC