- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Thu, 02 May 2013 16:19:59 -0700
- To: "www-style@w3.org" <www-style@w3.org>
The CSS WG has published an updated Working Draft of Selectors Level 4:
http://www.w3.org/TR/selectors4/
Selectors is a pattern-matching syntax for identifying sets of elements in a document,
and is used e.g. for applying CSS declarations to elements in a document tree.
Additions include some new selectors:
- :blank for elements that are empty or contain only white space
http://www.w3.org/TR/2013/WD-selectors4-20130502/#blank-pseudo
- :placeholder-shown for inputs that are showing a placeholder
http://www.w3.org/TR/2013/WD-selectors4-20130502/#placeholder-shown-pseudo
Review and improved naming suggestions are particularly welcome on these--
and also on the drag and drop pseudos:
http://www.w3.org/TR/2013/WD-selectors4-20130502/#placeholder-shown-pseudo
Another important change is lifting restrictions on :matches() and :not()
to accept complex selectors, and the definition of two profiles, one for
CSS matching and another for less performance-intensive uses like
querySelector:
http://www.w3.org/TR/2013/WD-selectors4-20130502/#placeholder-shown-pseudo
We particularly encourage implementers to comment on whether this
split is reasonable, or whether different things should be included/
excluded.
The draft also adds a definition for "relative selectors"; however
this has just been updated again to address the issue marked in the WD,
so please refer to the Editor's Draft:
http://dev.w3.org/csswg/selectors4/#relative
Significant changes since the August 2012 WD are listed at:
http://www.w3.org/TR/2013/WD-selectors4-20130502/#changes
Please send any comments to this mailing list, <www-style@w3.org>, and
please, prefix the subject line with
[selectors]
(as I did on this message).
For the CSS WG,
~fantasai
Received on Thursday, 2 May 2013 23:20:28 UTC