Bug 1523562 [wpt PR 14903] - Always promote fixed and sticky positioned elements, if they stick to a scroller., a=testonly
authorChris Harrelson <chrishtr@chromium.org>
Thu, 31 Jan 2019 18:59:25 +0000
changeset 458089 492a748b9d5468661fc752fb138b08a2eba65011
parent 458088 8dc4da778d4d153a0dc739683663e4766602761e
child 458090 0c4f530017184bea5255ba74bab19db634e3e0ea
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1523562, 14903, 921242, 1407922, 624999
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1523562 [wpt PR 14903] - Always promote fixed and sticky positioned elements, if they stick to a scroller., a=testonly Automatic update from web-platform-tests Always promote fixed and sticky positioned elements, if they stick to a scroller. Note that we will promote sticky-positioned elements even if the scroller is not composited. This allows us to remove a large amount of complex code having to do with ordering of decisions about compositing scroll vs the sticky-positioned element. Bug: 921242 Change-Id: I29d1ede06312325b1ee13c5b7d5d4987d7053d1e Reviewed-on: https://chromium-review.googlesource.com/c/1407922 Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Reviewed-by: Robert Flack <flackr@chromium.org> Cr-Commit-Position: refs/heads/master@{#624999} -- wpt-commits: bd951736b4d7dbfd862dfa0f27271b544e35ca30 wpt-pr: 14903
testing/web-platform/tests/css/css-position/position-sticky-hyperlink-ref.html
testing/web-platform/tests/css/css-position/position-sticky-hyperlink.html
--- a/testing/web-platform/tests/css/css-position/position-sticky-hyperlink-ref.html
+++ b/testing/web-platform/tests/css/css-position/position-sticky-hyperlink-ref.html
@@ -10,16 +10,17 @@ body {
   overflow: scroll;
   width: 200px;
   height: 200px;
 }
 
 .positioned {
   position: relative;
   top: 100px;
+  will-change: transform;
 }
 
 .spacer {
   height: 700px;
 }
 </style>
 
 <script>
--- a/testing/web-platform/tests/css/css-position/position-sticky-hyperlink.html
+++ b/testing/web-platform/tests/css/css-position/position-sticky-hyperlink.html
@@ -13,16 +13,17 @@ body {
   overflow: scroll;
   width: 200px;
   height: 200px;
 }
 
 .sticky {
   position: sticky;
   top: 0;
+  will-change: transform;
 }
 
 .spacer {
   height: 700px;
 }
 </style>
 
 <script>