[Bug 16169] Define the CSSElementMap

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16169

--- Comment #2 from Tab Atkins Jr. <jackalmage@gmail.com> 2012-03-15 17:54:04 UTC ---
The main use-case I can see is allowing JS-based selector queries (qS/A,
find/All) select those elements in an identical fashion to how CSS does.  If
you were, say, writing a polyfill for some new CSS feature that used element()
(or another function that takes an id selector), you'd have to first run the
selector normally and then (if it didn't return anything) check the map
yourself.

This isn't exactly difficult, though.  You just strip off the first # and then
see if the string maps to anything.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 15 March 2012 17:54:12 UTC