Content that overflows the ICB on an overflow:hidden page is "out of reach"
Categories
(Core :: Layout, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: botond, Assigned: hiro)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [webcompat:p1][layout:p2][geckoview:p2][wptsync upstream error])
Attachments
(4 files, 2 obsolete files)
Reporter | ||
Comment 1•8 years ago
|
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•8 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Reporter | ||
Comment 6•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
Assignee | ||
Comment 7•7 years ago
|
||
Reporter | ||
Comment 8•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
Comment 9•7 years ago
|
||
Reporter | ||
Comment 10•7 years ago
|
||
Reporter | ||
Comment 11•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Reporter | ||
Comment 13•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
Assignee | ||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Comment 14•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
Assignee | ||
Comment 15•7 years ago
|
||
Assignee | ||
Comment 16•7 years ago
|
||
Assignee | ||
Comment 17•7 years ago
|
||
Assignee | ||
Comment 18•7 years ago
|
||
Assignee | ||
Comment 19•7 years ago
|
||
Assignee | ||
Comment 20•7 years ago
|
||
Assignee | ||
Comment 21•7 years ago
|
||
Assignee | ||
Comment 22•7 years ago
|
||
Assignee | ||
Comment 23•7 years ago
|
||
Assignee | ||
Comment 24•7 years ago
|
||
Assignee | ||
Comment 25•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Reporter | ||
Comment 27•7 years ago
|
||
Assignee | ||
Comment 28•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Comment 29•7 years ago
|
||
![]() |
||
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Assignee | ||
Comment 30•7 years ago
|
||
Removing https://webcompat.com/issues/12969 since it happens on Chrome too, and the problem there is actually that overflow:hidden is specified in a div element instead of html or body.
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Assignee | ||
Comment 31•7 years ago
|
||
This will be a final try;
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c4e8f301a325e49c1c36c877dda81db708a35d95
The reftests added here failed on WebRender for some reasons I will skip them there and handle in bug 1520096 later.
Comment 32•7 years ago
|
||
![]() |
||
Comment 33•7 years ago
|
||
Backed out 3 changesets (bug 1423013) for failing at reftests/transform/compound-1a.html on a CLOSED TREE
Backoutlink: https://hg.mozilla.org/integration/autoland/rev/8af061c4dfc01a8ecaff8072b70110f85f1c5060
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=221919224&revision=91624c065046140dd88b670829892f3c4e41dc2d
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=221919224&repo=autoland&lineNumber=1925
Log snippet: [task 2019-01-15T06:51:01.232Z] 06:51:01 INFO - REFTEST TEST-START | http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1a.html == http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1-ref.html
[task 2019-01-15T06:51:01.233Z] 06:51:01 INFO - REFTEST TEST-LOAD | http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1a.html | 106 / 273 (38%)
[task 2019-01-15T06:51:11.750Z] 06:51:11 INFO - REFTEST TEST-LOAD | http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1-ref.html | 106 / 273 (38%)
[task 2019-01-15T06:51:11.753Z] 06:51:11 INFO - REFTEST TEST-UNEXPECTED-FAIL | http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1a.html == http://10.0.2.2:8854/tests/layout/reftests/transform/compound-1-ref.html | image comparison, max difference: 37, number of differing pixels: 479
Assignee | ||
Comment 34•7 years ago
|
||
Hi Oana, it seems to me that the failed test passed [1] on a revision after bug 1504659 was backed out (but my patches were still there). Are you sure that my patches caused the failure?
https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=221921472
Comment 35•7 years ago
|
||
Hi Hiro, yes this weirdly got green again after backing out Bug 1504659 here: https://hg.mozilla.org/integration/autoland/rev/73cd4b7b53ba8edbc148e40d101fd9427846ea26
but this was also green before your push (R53), and then got perma orange: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&searchStr=android%2C4.3%2Capi16%2B%2Cdebug%2Creftests%2Ctest-android-em-4.3-arm7-api-16%2Fdebug-reftest-53%2Cr%28r53%29&group_state=expanded&fromchange=749c9dcbbd7f7d8146a71d8cb2a1acb07db1b8c7&tochange=8af061c4dfc01a8ecaff8072b70110f85f1c5060&selectedJob=221919224
and this is also the case for (R27): https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&fromchange=749c9dcbbd7f7d8146a71d8cb2a1acb07db1b8c7&tochange=8af061c4dfc01a8ecaff8072b70110f85f1c5060&selectedJob=221919301&searchStr=android%2C4.3%2Capi16%2B%2Copt%2Creftests%2Ctest-android-em-4.3-arm7-api-16%2Fopt-reftest-27%2Cr%28r27%29
so I think there is reason to investigate on this. Thank you.
Assignee | ||
Comment 36•7 years ago
|
||
Thanks, Cosmin. That's fair.
I did track down what change actually caused the failure. The change is the RefreshVisualViewportSize call[1] in the case where APZAllowZooming() is false in MobileViewportManager::RefreshViewportSize(). That's surprising to me because I've been thinking that apz.allow_zooming is true on Android. But it's not at least on this test case. Anyway I am going to leave a comment in bug 1504659, and land my patches as it is here.
[1] https://hg.mozilla.org/integration/autoland/rev/738e1ee854eb24b72679b35252a4889b9603c003#l1.36
Comment 37•7 years ago
|
||
Assignee | ||
Comment 38•7 years ago
|
||
I found the pref is disabled on reftest. :/
https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/layout/tools/reftest/remotereftest.py#313
![]() |
||
Comment 39•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8aa60df47b04
https://hg.mozilla.org/mozilla-central/rev/9d1c137922e1
https://hg.mozilla.org/mozilla-central/rev/895cc0297ce2
Reporter | ||
Comment 40•7 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #38)
I found the pref is disabled on reftest. :/
https://searchfox.org/mozilla-central/rev/b29663c6c9c61b0bf29e8add490cbd6bad293a67/layout/tools/reftest/remotereftest.py#313
Yeah, I just (re-)discovered this recently as well (bug 1504659 comment 55). It has been the case ever since reftests were first enabled on Android (see bug 1156817), because the reftest environment was missing some things needed for zooming to work properly. That may have been resolved by now, and we may be able to transition Android reftests to use apz.allow_zooming=true
(although, while RDM uses apz.allow_zooming=false
, some of those tests provide coverage that's useful for RDM).
Updated•7 years ago
|
Updated•7 years ago
|
Comment 43•7 years ago
|
||
Comment 44•7 years ago
|
||
![]() |
||
Comment 45•7 years ago
|
||
bugherder |
Reporter | ||
Comment 46•7 years ago
|
||
Now that important follow-up bugs like bug 1520077 and bug 1519013 are fixed as well, I filed an issue against the Web Viewports Explainer doc to let the Chromium folks know about these changes and hopefully get the document updated to reflect them.
Hiro, thank you so much for taking this on and driving it to completion! It has probably been the #1 viewport-related web compatibility issue affecting Firefox, and it's now resolved.
Assignee | ||
Comment 47•6 years ago
|
||
Moving back http://www.correios.com.br/ case from bug 1498729 since the content isn't scaled down on Chrome either in the original webcompat report and the difference is Chrome is able to scroll to the content. Now we also are able to scroll the content (probably) thanks to this bug.
Comment 48•2 years ago
|
||
Hiro, is this still the case and can the change be reverted? It's quite confusing that scrollport includes the overflowed content on Android.
Assignee | ||
Comment 49•2 years ago
|
||
Sean, would you mind providing the case you are concerned? Though I am not sure what you meant by " scrollport includes the overflowed content", on mobile environments there's a concept named "minimum-scale size" which makes the contents get scaled less than 1.0 ratio, thus the visual viewport size can be larger than the ICB, thus some of overflowed contents can be inside the visual viewport. Note that the visual viewport doesn't equal to the root scrollport.
Comment 50•2 years ago
|
||
I have this test file https://mozilla.seanfeng.dev/files/lcp/lcp.html that works a bit differently on Firefox Android and Chrome Android. On Firefox, you can scroll the viewport to see the full image, but you can't do that on Chrome.
Assignee | ||
Comment 51•2 years ago
|
||
It looks same both on Chrome and Firefox on my Pixel3. Probably It somewhat depends on the device screen size?
Anyways, given that Chrome doesn't allow to scroll to where the image is fully visible, it's a Chrome bug?
Description
•