W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css3-values] The types "id" and "idref" for attr()

From: Werner Donné <werner.donne@pincette.biz>
Date: Mon, 21 May 2012 21:46:22 +0200
Message-Id: <E3315F38-B976-47F4-BCA7-A06DDB9D6C3C@pincette.biz>
Cc: "www-style@w3.org" <www-style@w3.org>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
I didn't want to use it in selectors. I have mentioned this to show that CSS is aware of IDs, so contrary to Björn I think it is meaningful.

A use-case for this is something I have discussed in [1]. However, I don't think a specific use-case is required. If a type "url" exists then it is equally justified to also have a type "id". It follows from the fact that all languages CSS can work on have the ID as a fundamental notion.

Werner.

[1] http://lists.w3.org/Archives/Public/www-style/2012May/0714.html
--
http://www.pincette.biz/
Handling your documents with care, wherever you are.

Op 21 May 2012 om 20:35 heeft "Tab Atkins Jr." <jackalmage@gmail.com> het volgende geschreven:

> On Mon, May 21, 2012 at 8:37 AM, Werner Donné <werner.donne@pincette.biz> wrote:
>> The CSS selector syntax is aware of IDs.
> 
> You can't use attr() in Selectors, though.  What sort of things are
> you intending to use this for?
> 
> ~TJ
Received on Monday, 21 May 2012 19:47:12 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:15 UTC