gecko-dev/layout/reftests/meta-viewport
Hiroyuki Ikezoe ba1ce0580a Bug 1508177 - Use expanded layout viewport height to tell whether we need to render the vertical overlay scrollbar. r=tnikkel
In the previous commit, we expanded layout viewport height but during reflow
the expanded layout viewport size hasn't reflected in
ScrollReflowInput::mContentsOverflowAreas.ScrollableOverflow(). We explicitly
need to use the expanded height to tell whether we need vertical vertical
scrollbars or not.

Note that the expanded layout viewport height should NOT be used for non-overlay
scrollbars cases since, for example, if the content width is specified by
`width: 100%`, the non-overlay vertical scrollbar narrows down the content's
used width a little bit because of the vertical scrollbar width, which in turn
the minimum scale gets bigger because the content's width became bit narrower,
thus the layout viewport size calculated with the minimum scale gets smaller,
then it results the vertical scrollbar no longer needs to be rendered, thus
the minimum scale gets back to the original value, then the vertical scroll
needs to be rendered again, thus this sequence of processes happens repreatedly.

Differential Revision: https://phabricator.services.mozilla.com/D40772

--HG--
extra : moz-landing-system : lando
2019-08-13 22:38:01 +00:00
..
async-scroll-to-no-content-area-ref.html Bug 1508177 - Add reftests to make sure we can scroll to expaned layout viewport areas where no content exists. r=botond 2019-08-13 22:37:48 +00:00
async-scroll-to-no-content-area.html Bug 1508177 - Add reftests to make sure we can scroll to expaned layout viewport areas where no content exists. r=botond 2019-08-13 22:37:48 +00:00
box-shadow.html
clamped-by-default-minimum-scale.html
device-height-for-width.html Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond 2019-07-09 00:02:48 +00:00
dynamic-grow-width-and-height.html
dynamic-grow-width.html
horizontal-overflow-hidden-region-ref.html
horizontal-overflow-hidden-region.html
initial-scale-0.html
initial-scale-0_5-ref.html
initial-scale-0_25-ref.html
initial-scale-1.html
initial-scale-10-ref.html
initial-scale-100.html
invalid-content.html Bug 1564021 - Use the default desktop width (980px) in the case where we have any viewport meta element but no valid content there. r=botond 2019-07-09 01:56:34 +00:00
invalid-width-ref.html Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond 2019-07-09 00:02:48 +00:00
invalid-width.html Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond 2019-07-09 00:02:48 +00:00
min-scale-aspect-ratio.html
minimum-scale.html
negative-initial-and-maximum-scale.html
no-scalable-with-minimum-scale-ref.html
no-scalable-with-minimum-scale.html
no-viewport.html
no-zoom-ref.html
not-able-to-scrollTo.html
overflow-hidden-region-dynamic-width-change.html
overflow-hidden-region-with-negative-left-positioned-element.html
overflow-hidden-region.html
overflow-region-ref.html
overflow-region.html
position-fixed-on-half-height-content-ref.html Bug 1508177 - 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 2019-08-13 22:36:39 +00:00
position-fixed-on-half-height-content.html Bug 1508177 - 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 2019-08-13 22:36:39 +00:00
position-fixed-on-landscape-content.html Bug 1508177 - 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 2019-08-13 22:36:39 +00:00
position-fixed-on-minimum-scale-size-ref.html
position-fixed-on-minimum-scale-size.html
position-fixed-on-square-content-ref.html Bug 1508177 - 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 2019-08-13 22:36:39 +00:00
position-fixed-on-square-content.html Bug 1508177 - 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 2019-08-13 22:36:39 +00:00
position-fixed-out-of-view.html
reftest.list Bug 1508177 - Use expanded layout viewport height to tell whether we need to render the vertical overlay scrollbar. r=tnikkel 2019-08-13 22:38:01 +00:00
remove-overflow-hidden-region-ref.html
remove-overflow-hidden-region.html
resolution-change-on-landscape-content-ref.html Bug 1508177 - 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 2019-08-13 22:37:50 +00:00
resolution-change-on-landscape-content.html Bug 1508177 - 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 2019-08-13 22:37:50 +00:00
scroll-to-unreachable-area-ref.html
scroll-to-unreachable-area.html
scrollbars-in-half-height-content-ref.html Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel 2019-08-13 22:37:54 +00:00
scrollbars-in-half-height-content.html Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel 2019-08-13 22:37:54 +00:00
scrollbars-in-landscape-content-ref.html Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel 2019-08-13 22:37:54 +00:00
scrollbars-in-landscape-content.html Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel 2019-08-13 22:37:54 +00:00
vertical-overflow-hidden-region.html
viewport-width.html
width-980-ref.html Bug 1564021 - Use the default desktop width (980px) in the case where we have any viewport meta element but no valid content there. r=botond 2019-07-09 01:56:34 +00:00
wrapped-text-at-icb-ref.html
wrapped-text-at-icb.html