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

Unified Diff: LayoutTests/paint/invalidation/spv2/table-two-pass-layout-overpaint.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-two-pass-layout-overpaint.html
diff --git a/LayoutTests/fast/repaint/table-two-pass-layout-overpaint.html b/LayoutTests/paint/invalidation/spv2/table-two-pass-layout-overpaint.html
similarity index 57%
copy from LayoutTests/fast/repaint/table-two-pass-layout-overpaint.html
copy to LayoutTests/paint/invalidation/spv2/table-two-pass-layout-overpaint.html
index d049351b0ccc1f3f6834388f1363aebbc38d240f..03cf4faffe0b553882e7ae1f28c0cc4a5eb5ea32 100644
--- a/LayoutTests/fast/repaint/table-two-pass-layout-overpaint.html
+++ b/LayoutTests/paint/invalidation/spv2/table-two-pass-layout-overpaint.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/table-two-pass-layout-overpaint.html -->
<html>
<head>
<style>
@@ -5,15 +6,18 @@
td { width: 100px; height: 50px; }
div#target { height: 25px; background-color: lightgreen; }
</style>
- <script src="resources/text-based-repaint.js"></script>
+ <script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.width = "50px";
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<table>
<tr>
<td>

Powered by Google App Engine
This is Rietveld 408576698