W3C home > Mailing lists > Public > www-style@w3.org > June 2014

Re: [selectors] Anonymous Attribute Selector

From: Simon Pieters <simonp@opera.com>
Date: Tue, 03 Jun 2014 14:30:55 +0200
To: Christoph P├Ąper <christoph.paeper@crissov.de>, "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-style list" <www-style@w3.org>
Message-ID: <op.xgvo1titidj3kv@simons-mbp>
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC