I am trying to fix a firebug bug (Issue 125) related to "hover"
pseudo-selector.
Firebug uses:
domUtils.getCSSStyleRules(element)
and fails to get rules for the element if the rule is like:
a:hover {
color:#FF00FF;
text-decoration:none;
}
However, the rules are found if we "inspect" the element and the mouse
is over the element. It is as if the result of getCSSStyleRules(element)
depends on content state.
Could it be true? Should it be true?
Would it be wise to flip the state bits temporarily around the
getCSSStyleRules() call with
void setContentState ( nsIDOMElement element , PRInt32 state );
and if so are the stage bits documented?
Thanks,
jjb
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout