[Webkit-unassigned] [Bug 76736] window.getMatchedCSSRules() not supporting pseudo classes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 5 10:56:30 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=76736


David Storey <dstorey at motorola.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dstorey at motorola.com




--- Comment #4 from David Storey <dstorey at motorola.com>  2012-04-05 10:56:30 PST ---
(In reply to comment #2)

> What it won't do, though, is return a rule with a ":hover" selector when the element isn't being hovered, because that rule isn't currently matching the element.
> 
> If you'd like to be get the selectors that would apply when an element is hovered, we'd need an additional argument letting us specify some state that we should pretend the element matches.  
> 
> This sounds like a fine idea (it's needed if you want a relatively easy way to achieve functionality like what Inspector does when it shows you the rules that apply during :hover), but it needs specification.

Yes, this is exactly the kind of thing we want to be able to do.
> 
> Given that this gMCR isn't specified *at all* right now, the right thing to do is fix that problem first and write a CSSOM subspec, then add this argument to the spec so we can implement it.

Yes, it would be great if we could get that argument. Should I file a bug in the CSS bugzilla or post on www-style first?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list