Re: Referring to elements from CSS. (In, but not limited to [css-images-4] and [css-gcpm])

On Wed, Oct 2, 2013 at 2:40 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Le 02/10/2013 19:30, Tab Atkins Jr. a écrit :
>> Anyway, ID selectors are easier to write when doing so literally.
>> URLs are easier to use when interfacing with the document language.
>> Both have their advantages.
>
> They do, but having two similar but different ways to do the same thing
> makes me a bit sad.

Yeah, but them's the breaks.  This isn't a problem we're newly
inventing; the platform has had multiple ways to refer to elements for
a while.

>> (Note: We probably want to add an 'idref' type to attr() to handle the
>> remaining document language references.  It'll translate to an id
>> selector, maybe?)
>
> What’s idref?

Like <label for>.

~TJ

Received on Wednesday, 2 October 2013 21:45:05 UTC