With APZ enabled, these tests activate scrollframes (by scrolling them) in the
test pages but not the reference pages. This causes differences in layerization
which causes reftests to fail by a few pixel differences in the scrollbars. By
making the scrollboxes will-change:scroll-position both the test and reference
pages have activated scrollframes, and so the layerization is the same in both.
--HG--
extra : commitid : BafhIev6bT
- Updated smooth scroll behavior mochitest and reftests to
match new CSSOM-View DOM scrolling method parameters.
- Added tests for Element.ScrollBy and Element.ScrollTo.
scroll-behavior-1.html - Viewport Scrolling, expected to be smooth:
- DOM Method not specifying scroll-behavior, for <body> tag with 'scroll-behavior: smooth’
scroll-behavior-2.html - Div Scrolling, expected to be smooth:
- DOM Method not specifying scroll-behavior, for <div> tag with 'scroll-behavior: smooth’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying 'smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘smooth’ scroll-behavior, for <div> tag with no scroll-behavior attribute.
scroll-behavior-3.html - Div Scrolling, expected to be instant:
- DOM Method not specifying scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method not specifying scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method not specifying scroll-behavior, for <div> tag with no scroll-behavior attribute.
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: smooth’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘instant’ scroll-behavior, for <div> tag with no scroll-behavior attribute.
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: instant’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with ‘scroll-behavior: auto’
- DOM Method specifying ‘auto’ scroll-behavior, for <div> tag with no scroll-behavior attribute.