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

Unified Diff: LayoutTests/paint/invalidation/spv2/table-section-repaint-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/spv2/table-section-repaint-expected.html
diff --git a/LayoutTests/fast/repaint/table-section-repaint.html b/LayoutTests/paint/invalidation/spv2/table-section-repaint-expected.html
similarity index 70%
copy from LayoutTests/fast/repaint/table-section-repaint.html
copy to LayoutTests/paint/invalidation/spv2/table-section-repaint-expected.html
index 9811094631528eda88927d5597540101fff45f2c..85a57f2f1d108c6753e12ab31956f5b41e6b66a0 100644
--- a/LayoutTests/fast/repaint/table-section-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/table-section-repaint-expected.html
@@ -10,28 +10,10 @@
.half { height: 30px; width: 60px; }
.full { height: 60px; width: 60px; }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- var caption1 = document.getElementById("caption1");
- caption1.style.height = "0";
-
- var caption2 = document.getElementById("caption2");
- caption2.style.height = "30px";
-
- var top = document.getElementById("top");
- top.style.height = "0";
-
- var top = document.getElementById("innerDiv");
- innerDiv.style.height = "15px";
- }
- </script>
</head>
-<body onload="runRepaintTest()">
+<body>
<div class="playground">
<table cellpadding="0" cellspacing="0">
- <caption id="caption1" class="blue half"></caption>
<tbody>
<tr>
<td class="red half"></td>
@@ -47,7 +29,7 @@
<table cellpadding="0" cellspacing="0">
<tbody>
<tr>
- <td><div id="top" class="blue half"></div></td>
+ <td></td>
</tr>
</tbody>
<tbody>
@@ -63,7 +45,7 @@
<div class="playground">
<table cellpadding="0" cellspacing="0">
- <caption id="caption2" class="zero"></caption>
+ <caption id="caption2" class="half"></caption>
<tbody>
<tr>
<td class="green half"></td>
@@ -78,7 +60,7 @@
<div class="playground" style="margin-top: 30px;">
<table cellpaddin="0" cellspacing="0" style="width: 60px; border-collapse: collapse; border: 8px solid green;">
<caption style="width: 10px; margin: auto;">
- <div id="innerDiv"></div>
+ <div id="innerDiv" style="height: 15px"></div>
</caption>
<tbody>
<tr><td class="half"></td></tr>

Powered by Google App Engine
This is Rietveld 408576698