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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/composited-table-row.html

Issue 2147393003: Don't skip table rows when computing visual rects if the row is the ancestor. (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/composited-table-row.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/composited-table-row.html b/third_party/WebKit/LayoutTests/paint/invalidation/composited-table-row.html
new file mode 100644
index 0000000000000000000000000000000000000000..f69da592272551b176b01ea5f56b8bc36a274959
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/composited-table-row.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<table style="border: 1px solid green; border-collapse: collapse">
+ <tr style="will-change: transform; background-color: red">
+ <td id="target">Cell1</td>
+ <td>Cell2</td>
+ </tr>
+</table>
+<script>
+onload = runRepaintAndPixelTest;
+
+function repaintTest() {
+ target.style.background = "green";
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698