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
async-scroll-to-no-content-area.html
box-shadow.html
clamped-by-default-minimum-scale.html
device-height-for-width.html
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
invalid-width-ref.html
invalid-width.html
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
position-fixed-on-half-height-content.html
position-fixed-on-landscape-content.html
position-fixed-on-minimum-scale-size-ref.html
position-fixed-on-minimum-scale-size.html
position-fixed-on-square-content-ref.html
position-fixed-on-square-content.html
position-fixed-out-of-view.html
reftest.list
remove-overflow-hidden-region-ref.html
remove-overflow-hidden-region.html
resolution-change-on-landscape-content-ref.html
resolution-change-on-landscape-content.html
scroll-to-unreachable-area-ref.html
scroll-to-unreachable-area.html
scrollbars-in-half-height-content-ref.html
scrollbars-in-half-height-content.html
scrollbars-in-landscape-content-ref.html
scrollbars-in-landscape-content.html
vertical-overflow-hidden-region.html
viewport-width.html
width-980-ref.html
wrapped-text-at-icb-ref.html
wrapped-text-at-icb.html