Consider dropping use of gfxPrefs::DesktopViewportWidth in nsIDocument::GetViewportInfo for a fallback value
Categories
(Core :: Layout, enhancement, P1)
Tracking
()
People
(Reporter: hiro, Assigned: bradwerth)
References
Details
(Whiteboard: [rdm-mvp])
Attachments
(2 files)
Assignee | ||
Comment 1•6 years ago
|
||
This is the root cause of Bug 1501665, which has steps to reproduce.
Assignee | ||
Comment 2•6 years ago
|
||
The patches for Bug 1501665 are no longer resolving this issue, so I'm re-opening the bug. I have a patch that I'll post to this bug, and I'll add tests after Bug 1501665 lands.
Comment 3•6 years ago
|
||
But to clarify, this shouldn't apply to pages that don't have any <meta> viewport tag at all (see here for a little more details).
If I'm translating the CSS-logic correctly to <meta> viewport, doing that would also approximately correspond to what is termed "Small screen UA styles" in the spec.
Comment 4•6 years ago
|
||
Yep, I think we're in agreement here -- what we're looking to land in this bug is the revised version of this patch, not the original version.
Comment 5•6 years ago
|
||
Might also be an opportunity to make https://phabricator.services.mozilla.com/D20953 do what I originally claimed it to do then, i.e. really evaluate UseWidthDeviceWidthFallbackViewport()
only when the <meta> viewport tag is completely missing.
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D23531
Comment 9•6 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=235575458&repo=autoland&lineNumber=1688
Backout link: https://hg.mozilla.org/integration/autoland/rev/62b9000a17c10b9ba87adc94772a8679491d2514
task 2019-03-22T23:04:56.297Z] 23:04:56 INFO - 150 INFO TEST-PASS | gfx/layers/apz/test/mochitest/test_bug982141.html | expected at least one paint in compositor test data
[task 2019-03-22T23:04:56.298Z] 23:04:56 INFO - Buffered messages finished
[task 2019-03-22T23:04:56.298Z] 23:04:56 INFO - 151 INFO TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_bug982141.html | found the RCD node
[task 2019-03-22T23:04:56.299Z] 23:04:56 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:18
[task 2019-03-22T23:04:56.299Z] 23:04:56 INFO - testBug982141@gfx/layers/apz/test/mochitest/helper_bug982141.html:54:18
[task 2019-03-22T23:10:13.023Z] 23:10:13 INFO - 152 INFO TEST-UNEXPECTED-FAIL | gfx/layers/apz/test/mochitest/test_bug982141.html | Test timed out.
[task 2019-03-22T23:10:13.024Z] 23:10:13 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:275:18
[task 2019-03-22T23:10:13.024Z] 23:10:13 INFO - reportError@SimpleTest/TestRunner.js:121:22
[task 2019-03-22T23:10:13.024Z] 23:10:13 INFO - TestRunner._checkForHangs@SimpleTest/TestRunner.js:142:7
Assignee | ||
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/55b2341d41d3
https://hg.mozilla.org/mozilla-central/rev/3054d8c5618f
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Description
•