W3C home > Mailing lists > Public > www-style@w3.org > November 2013

Re: [selectors4] Proposal for extending Selectors Level 4 with possibility to select attributes

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 05 Nov 2013 07:40:26 +0100
Message-ID: <527892DA.1000905@disruptive-innovations.com>
To: www-style@w3.org
On 05/11/13 02:30, Tab Atkins Jr. wrote:

> Rather than consuming a new ASCII character, we could just pile this
> onto pseudo-element syntax:
> img::attr(alt)
> ::attr(title)

Not sure about that. Pseudo-elements are different from attribute nodes.
Even if we already think of future extensions to your ::attr(),
I still think that we could, for once, harmonize our syntax better with
what all other languages do. And using @ to note or select an attribute
became something rather universal... Again, for once, it's probably
worth consuming that extra delimitor.

Received on Tuesday, 5 November 2013 06:40:56 UTC

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