Closed
Bug 1490401
Opened 6 years ago
Closed 6 years ago
MediaQueryList::Matches shouldn't need a pres context, but a document instead | matchMedia should work in display:none iframes
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla68
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webcompat][wptsync upstream])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
No description provided.
Updated•6 years ago
|
Priority: -- → P3
Comment 1•6 years ago
|
||
This is a webcompat issue that causes some tracking scripts to fall into infinite loops, see bug 1519463.
Summary: MediaQueryList::Matches shouldn't need a pres context, but a document instead. → MediaQueryList::Matches shouldn't need a pres context, but a document instead | matchMedia should work in display:none iframes
Whiteboard: [webcompat]
Assignee | ||
Comment 2•6 years ago
|
||
I guess I should just fix it. I did most of the work in bug 1430608, and the plumbing is pretty annoying but nothing egregious.
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Assignee | ||
Comment 3•6 years ago
|
||
Ah, this is not as easy, I know why... We need a default style to evaluate media queries. And a style right now requires a pres context.
Assignee | ||
Comment 6•6 years ago
|
||
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f98617ff7cf5
MatchMedia should work inside display: none iframes. r=heycam
Comment 8•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/16488 for changes under testing/web-platform/tests
Whiteboard: [webcompat] → [webcompat][wptsync upstream]
Upstream PR merged
You need to log in
before you can comment on or make changes to this bug.
Description
•