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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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/table-outer-border.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border.html b/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..6351fb944c1fe5260929bce49457170054f2d06a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/table-outer-border.html
@@ -0,0 +1,45 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http:/html4/strict.dtd">
+<html>
+<head>
+ <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12817</title>
+ <style type="text/css" media="all">
+ table {
+ border-collapse: collapse;
+ }
+
+ table td {
+ border: 15px solid red;
+ background-color: green;
+ height: 50px;
+ width: 100px;
+ }
+
+ table.green td {
+ border-color: green;
+ }
+ </style>
+ <script src="resources/text-based-repaint.js"></script>
+ <script>
+ function repaintTest()
+ {
+ var container = document.getElementById('container');
+ var table = document.getElementById('table');
+ var newTable = table.cloneNode(true);
+ newTable.className = "green";
+ container.replaceChild(newTable, table);
+ }
+ </script>
+</head>
+<body onload="runRepaintAndPixelTest();">
+ <div id="container" style="width: 500px;">
+ <table id="table">
+ <tr>
+ <td></td>
+ </tr>
+ <tr>
+ <td></td>
+ </tr>
+ </table>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698