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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/fast/repaint/table-cell-collapsed-border-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border.html b/third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border-expected.html
similarity index 66%
copy from third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border.html
copy to third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border-expected.html
index 78ddb78ce0aef682af296eff83e6dc2dd9edc4c9..a3d36a09f201f02cf782f27a80fbaf3d8ec8472e 100644
--- a/third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border.html
+++ b/third_party/WebKit/LayoutTests/fast/repaint/table-cell-collapsed-border-expected.html
@@ -4,16 +4,8 @@
table { border-collapse: collapse; }
td { background: silver; width: 100px; height: 100px; }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- for (i = 1; i < 4; i++)
- document.getElementById("t" + i).style.borderColor = "green";
- }
- </script>
</head>
-<body onload="runRepaintTest()">
+<body>
<p>
Repaint test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11359">http://bugs.webkit.org/show_bug.cgi?id=11359</a>
Incomplete repaint of table cell's collapsed border when changing only the cell</i>.
@@ -22,7 +14,7 @@
<tr>
<td></td>
<td style="border-bottom: 4px solid white; border-top: 10px solid white;"></td>
- <td id="t1" style="border-left: 10px solid red; border-right: 10px solid red;"></td>
+ <td id="t1" style="border-left: 10px solid; border-right: 10px solid; border-color: green"></td>
<td style="border-bottom: 6px solid white; border-top: 10px solid white;"></td>
</tr>
<tr>
@@ -32,9 +24,9 @@
<td></td>
</tr>
<tr>
- <td id="t2" style="border-top: 10px solid red; border-bottom: 10px solid red;"></td>
+ <td id="t2" style="border-top: 10px solid; border-bottom: 10px solid; border-color: green"></td>
<td></td>
- <td id="t3" style="border: 10px solid red;"></td>
+ <td id="t3" style="border: 10px solid green;"></td>
<td></td>
</tr>
<tr>

Powered by Google App Engine
This is Rietveld 408576698