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

Unified Diff: LayoutTests/paint/invalidation/spv2/trailing-floats-root-line-box-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/trailing-floats-root-line-box-overflow.html
diff --git a/LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow.html b/LayoutTests/paint/invalidation/spv2/trailing-floats-root-line-box-overflow.html
similarity index 57%
copy from LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow.html
copy to LayoutTests/paint/invalidation/spv2/trailing-floats-root-line-box-overflow.html
index 0e8f0c60d88cc5872f51a7284343ef14cfe4601b..14f8963a4f499e919cec0367da81a65e5f44caa6 100644
--- a/LayoutTests/fast/repaint/trailing-floats-root-line-box-overflow.html
+++ b/LayoutTests/paint/invalidation/spv2/trailing-floats-root-line-box-overflow.html
@@ -1,13 +1,17 @@
+<!-- Based on fast/repaint/trailing-floats-root-line-box-overflow.html -->
<head>
- <script src="resources/text-based-repaint.js"></script>
+ <script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow (positioned) DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById("target").style.display = "none";
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div style="background-color: yellow;"><div style="display: inline-block; width: 100px; height: 100px; background-color: green; margin-top: 50px; margin-bottom: -100px;"></div><br><div style="float: left;"></div></div>
<div style="position: absolute; height: 100px; background-color: red; width: 100px;" id="target"></div>
</body>

Powered by Google App Engine
This is Rietveld 408576698