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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html

Issue 2430313004: Paint collapsed borders of a table as one display item (Closed)
Patch Set: Rebaseline on mac and win Created 4 years, 1 month 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/table/composited-cell-change-collapsed-border-color.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
new file mode 100644
index 0000000000000000000000000000000000000000..96981e21901cd00d50844fef20838fa1e220ccd1
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table/composited-cell-change-collapsed-border-color.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<p style="height: 50px">Passes if green borders are visible surrounding A's cell and no red.
+<table style="border-collapse: collapse;">
+ <tr>
+ <td id="a" style="border: 5px solid red; width: 100px; height: 100px; will-change: transform">A</td>
+ </tr>
+</table>
+<script src="../resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ a.style.borderColor = 'green';
+}
+onload = runRepaintAndPixelTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698