diff --git a/layout/reftests/scrolling/scroll-behavior-2.html b/layout/reftests/scrolling/scroll-behavior-2.html index 7a01eb010068..9987a907f058 100644 --- a/layout/reftests/scrolling/scroll-behavior-2.html +++ b/layout/reftests/scrolling/scroll-behavior-2.html @@ -35,6 +35,7 @@ width: 50px; height: 50px; overflow: scroll; + will-change: scroll-position; } #scroll_1, #scroll_2, #scroll_3, #scroll_6 { diff --git a/layout/reftests/scrolling/scroll-behavior-3.html b/layout/reftests/scrolling/scroll-behavior-3.html index e6e4ad1615a5..87156b750b35 100644 --- a/layout/reftests/scrolling/scroll-behavior-3.html +++ b/layout/reftests/scrolling/scroll-behavior-3.html @@ -35,6 +35,7 @@ width: 50px; height: 50px; overflow: scroll; + will-change: scroll-position; } #scroll_1, #scroll_4, #scroll_6, #scroll_8 { diff --git a/layout/reftests/scrolling/scroll-behavior-4.html b/layout/reftests/scrolling/scroll-behavior-4.html index f19b59d154c4..ea1855419c83 100644 --- a/layout/reftests/scrolling/scroll-behavior-4.html +++ b/layout/reftests/scrolling/scroll-behavior-4.html @@ -28,14 +28,15 @@ top: 2000px; width: 20px; height: 20px; - background: green; - display: inline-block; + background: green; + display: inline-block; } .scroll_box { width: 50px; height: 50px; overflow: scroll; + will-change: scroll-position; } #scroll_1 { diff --git a/layout/reftests/scrolling/scroll-behavior-6.html b/layout/reftests/scrolling/scroll-behavior-6.html index 667df8a1413d..3f169412f88f 100644 --- a/layout/reftests/scrolling/scroll-behavior-6.html +++ b/layout/reftests/scrolling/scroll-behavior-6.html @@ -35,6 +35,7 @@ width: 50px; height: 50px; overflow: scroll; + will-change: scroll-position; }