- From: Sebastian Zartner <sebastianzartner@gmail.com>
- Date: Wed, 3 Sep 2014 09:55:49 +0200
- To: James Craig <jcraig@apple.com>
- Cc: www-style list <www-style@w3.org>
Received on Wednesday, 3 September 2014 07:56:36 UTC
On 3 September 2014 09:27, James Craig <jcraig@apple.com> wrote: > What's the benefit of this very specific and seemingly limited [att|=val] > selector: > > [lang|="en"] { /* properties */ } > > Over this combination of more extensible selectors? > > [lang="en"], [lang^="en-"] { /* properties */ } > > If there is no real benefit, should it be dropped from the selectors > module? Disregarding whether it adds a benefit, as that selector is already defined in CSS 2.1[1] and implemented by all main user agents[2], it can't be dropped anymore. Sebastian [1] http://www.w3.org/TR/CSS21/selector.html#attribute-selectors
Received on Wednesday, 3 September 2014 07:56:36 UTC