Closed
Bug 1490401
Opened 7 years ago
Closed 7 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)
|
47 bytes,
text/x-phabricator-request
|
Details |
No description provided.
Updated•7 years ago
|
Priority: -- → P3
Comment 1•7 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•7 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•7 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•7 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•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 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
•