cssRules / ID selectors
Paul Temple
paul.temple at gmx.net
Thu Feb 10 01:02:26 GMT 2005
Paul Temple wrote:
> When using an ID selector that starts with a '#' like this
> #helloWorld { ... }
Remark: When using ID selectors _not_ starting with a '#' like
this:
h1#helloWorld { ... }
then "document.styleSheets[i].cssRules[j].selectorText" returns
h1[id"helloWord"]
(But the "WARNING: Unhandled case ..." is displayed here, too)
And now I somehow understand the change from "/a" to "*"...
But CSSSelector::selectorText() in css_base.cpp, which (I think)
is responsible for that, didn't change much since v1.1
(2003-01-13), so I don't understand how it could change. Or it
changed, before css_base.cpp was created...
So my only remaining question is: Will it change in the future?
(As IE and NS both use "h1#helloWorld")
More information about the kfm-devel
mailing list