[Webkit-unassigned] [Bug 38927] Make the :window-inactive pseudo class apply to everything (or atleast the body/root element)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 14 20:34:24 PDT 2014


--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2014-08-14 20:34:32 PST ---
Created an attachment (id=236642)
 --> (https://bugs.webkit.org/attachment.cgi?id=236642&action=review)
[TEST] Reduction

Hey! It seems like this selector now works for any element because of:

However it seems that querySelector identifies the elements, but the elements do not recalculate style and repaint. For example (attached test):

    div { width: 200px; height: 200px; background: blue; }
    div:window-inactive { background: red; }


Note when inspector is focused that querySelector("div:window-inactive") finds the div. But the div is not red =(

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