Re: [selectors] Anonymous Attribute Selector

On Mon, 02 Jun 2014 21:32:27 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> To reiterate - I don't see a use-case for an unnamed attribute here.
> Selectors is based on the DOM, and you're defining your own markup
> language, so you can define how it maps into a DOM.  In particular,
> you can define a name for your attribute for the purpose of Selectors
> and the DOM, even if that name is never written or referenced within
> your markup language.  I strongly oppose complicating the Selectors
> syntax and data model to address this when it's so trivial to address
> it on the host language side.

Agree.

c.f. http://dev.w3.org/html5/webvtt/#dfn-pseudo-cue-selector

-- 
Simon Pieters
Opera Software

Received on Tuesday, 3 June 2014 12:31:25 UTC