Re: [css3-images] CSS element reference identifier

On Mon, Feb 6, 2012 at 9:46 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> Elika and I were recently discussing this, and realized that having
> the element reference identifier use the current grammar (as a bare
> IDENT) is future-hostile, as we plan to eventually extend it to accept
> arbitrary selectors, and IDENTs collide with tagname selectors.
>

We've discussed this at least a couple of times before ... I think that if
you want to have something that can use arbitrary selectors, you should
define a new function elements() that takes a selector and can handle
multiple matched elements, and does not consult the CSSElementMap at all.

Rob
-- 
"If we claim to be without sin, we deceive ourselves and the truth is not
in us. If we confess our sins, he is faithful and just and will forgive us
our sins and purify us from all unrighteousness. If we claim we have not
sinned, we make him out to be a liar and his word is not in us." [1 John
1:8-10]

Received on Tuesday, 7 February 2012 05:38:10 UTC