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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-cell-in-row-with-offset.html

Issue 2157243002: Add in row offset if self-composited. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 5 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/paint/invalidation/invalidate-cell-in-row-with-offset.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-cell-in-row-with-offset.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-cell-in-row-with-offset.html
new file mode 100644
index 0000000000000000000000000000000000000000..1a0248c479936d30454502bc0622abcd6fa78afc
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-cell-in-row-with-offset.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<style>
+ .shadow-normal { box-shadow: black 5px -5px 0; }
+ .shadow-inset { box-shadow: black 5px 5px 0 inset; }
+ tr { background-color: blue; will-change: transform; }
+ td { width: 100px; height: 100px; background-color: red; }
+ table { border-spacing: 10px; }
+</style>
+<table>
+ <tr ></tr>
+ <tr ><td></td></tr>
+ <tr class="shadow-inset"><td id="target" ></td><td></td></tr>
+</table>
+<script>
+onload = runRepaintAndPixelTest;
+function repaintTest() {
+ target.style.background = "green";
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698