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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html

Issue 2559863002: Fix issue when background changes painting target layer (Closed)
Patch Set: Fix windows build Created 4 years 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/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html
new file mode 100644
index 0000000000000000000000000000000000000000..3e420f78bf8b283097d09205310dabd958d55aed
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/stop-painting-onto-scrolling-contents.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+Passes if the green background remains when the shadow disappears.
+<div id="target" style="width: 200px; height: 200px; background-color: green;
+ overflow: auto; will-change: transform;
+ box-shadow: 10px 10px red">
+ <div style="height: 500px"></div>
+</div>
+<script src="../../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ target.style.boxShadow = 'none';
+}, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698