[Webkit-unassigned] [Bug 75903] matchMedia() MediaQueryList not updating

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 11:45:21 PST 2012


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





--- Comment #1 from Nicholas C. Zakas <webkit at nczonline.net>  2012-01-17 11:45:21 PST ---
Update: It appears that adding a style block with the same media query causes the JavaScript API to work correctly. So if I add:

@media screen and (max-width:600px) {
    .foo {}
}

Then the JavaScript in my previous comment works as expected.

-- 
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