Re: [selectors] Any benefit of [att|="val"] over [att="val"], [att^="val-"]

> On Sep 3, 2014, at 12:55 AM, Sebastian Zartner <sebastianzartner@gmail.com> wrote:
> 
> On 3 September 2014 09:27, James Craig <jcraig@apple.com <mailto: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.

Fair point. Thanks.

Received on Wednesday, 3 September 2014 08:58:21 UTC