Closed Bug 1508177 Opened 2 years ago Closed 1 year ago
Consider shrinking content even if no content area gets visible
In bug 1423709 we are going to shrink contents to screen size if the content doesn't specify initial-scale, BUT we are NOT going to shrink in the case where *no content area* is visible. For example, if the screen size is 400x800 and the content size is 800x800 we don't shrink the content. I believe there exists such sites in the wild, but I think it's not so common. And to do that as Botond said, it seems more work would be necessary (actually I don't know what we need though).
Summary: Consider shrinking content even if → Consider shrinking content even if no content area gets visible
should this be tied to Bug 1123938
Yup. Note that for overflow:hidden pages, bug 1423013 will affect the behaviour here as well (the "content area" that we compute will get larger on some overflow:hidden pages).
OS: Unspecified → Android
Priority: P4 → P3
Webcompat Priority: --- → ?
Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/f72a37c3a6b8 Add an explicit "initial-scale=1,minimum-scale=1" meta viewport tag to avoid expanding scrollable area. r=botond https://hg.mozilla.org/integration/autoland/rev/55695642b57b Tests for various web exposed metrics on the content that the content height is shorter than the layout viewport height. r=botond https://hg.mozilla.org/integration/autoland/rev/23495a4d239e Add reftests to make sure position:fixed elements are attached to the layout viewport even if the layout viewport contains no visible contents area. r=botond https://hg.mozilla.org/integration/autoland/rev/64c444bacabc Add reftests to make sure we can scroll to expaned layout viewport areas where no content exists. r=botond https://hg.mozilla.org/integration/autoland/rev/e9a182bf1590 Add reftests to make sure that expanded layout viewport areas that are initially out of the visual viewport are rendered by setting resolution. r=botond https://hg.mozilla.org/integration/autoland/rev/156532527ac9 Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel https://hg.mozilla.org/integration/autoland/rev/eb738d246d40 Expand the minimum scale height even if the expanded area doesn't contain any contents. r=botond https://hg.mozilla.org/integration/autoland/rev/06f8821f01d7 Use expanded layout viewport height to tell whether we need to render the vertical overlay scrollbar. r=tnikkel
You need to log in before you can comment on or make changes to this bug.