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

Unified Diff: LayoutTests/paint/invalidation/spv2/table-section-overflow.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-overflow.html
diff --git a/LayoutTests/fast/repaint/table-section-overflow.html b/LayoutTests/paint/invalidation/spv2/table-section-overflow.html
similarity index 53%
copy from LayoutTests/fast/repaint/table-section-overflow.html
copy to LayoutTests/paint/invalidation/spv2/table-section-overflow.html
index 87e8499af2028459c20500ee7f2dcaa2fb80d828..ea0cdf755f71898626a8c67e8fc0002235542af0 100644
--- a/LayoutTests/fast/repaint/table-section-overflow.html
+++ b/LayoutTests/paint/invalidation/spv2/table-section-overflow.html
@@ -1,15 +1,25 @@
+<!-- Based on fast/repaint/table-section-overflow.html -->
<html>
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
+ <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
<script type="text/javascript">
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='spacer'",
+ "LayoutTable TABLE",
+ "LayoutTableSection TBODY",
+ "LayoutTableRow TR",
+ "LayoutTableCell TD",
+ "LayoutBlockFlow DIV",
+ "LayoutBlockFlow DIV",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("spacer").style.height = "50px";
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div id="spacer" style="width: 0;"></div>
<table cellpadding="0" cellspacing="0" style="margin-left: 50px;">
<tr>

Powered by Google App Engine
This is Rietveld 408576698