Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: third_party/WebKit/LayoutTests/compositing/composite-scrollable-fixed-position-when-descendants-composite.html

Issue 2839263002: Don't promote position: fixed elements with composited descendants if they don't scroll (Closed)
Patch Set: Address reviewer comment Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/compositing/composite-scrollable-fixed-position-when-descendants-composite.html
diff --git a/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html b/third_party/WebKit/LayoutTests/compositing/composite-scrollable-fixed-position-when-descendants-composite.html
similarity index 79%
rename from third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html
rename to third_party/WebKit/LayoutTests/compositing/composite-scrollable-fixed-position-when-descendants-composite.html
index a972d50bdf8e6100bca9d800eb74823d801c4ce9..412c8766e963a014d63942b42f5c6f71f454d7f3 100644
--- a/third_party/WebKit/LayoutTests/compositing/always-composite-fixed-position-when-descendants-composite.html
+++ b/third_party/WebKit/LayoutTests/compositing/composite-scrollable-fixed-position-when-descendants-composite.html
@@ -1,10 +1,11 @@
<!doctype HTML>
Any errors will show below this line.
-<!-- Having a composited child should always be a position:fixed compositing trigger -->
+<!-- Having a composited child should be a position:fixed compositing trigger when scrollable -->
<div style="position: fixed; width: 100px; height: 100px; background: lightgray">
<div style="will-change: transform; margin: 50px; width: 50px; height: 50px; background: lightblue">
</div>
</div>
+<div style="height: 2000px;"></div>
<script src="../resources/testharness.js"></script>
<script>
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698