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

Unified Diff: LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.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/negative-text-indent-with-overflow-hidden.html
diff --git a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html b/LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html
similarity index 65%
copy from LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
copy to LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html
index 049fc1283faec358df16c4ca23f51c48c504667e..065df93dcfdb5e99d976d629c5631ac5c72889a7 100644
--- a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
+++ b/LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden.html
@@ -1,3 +1,4 @@
+<!-- Based on fast/repaint/negative-text-indent-with-overflow-hidden.html -->
<!DOCTYPE html>
<html>
<head>
@@ -21,14 +22,17 @@
background-color: blue;
}
</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' class='changed'",
+ ];
+ function paintInvalidationTest() {
document.getElementById('target').classList.add('changed');
}
</script>
</head>
-<body onload="runRepaintTest();">
+<body onload="runPaintInvalidationTest();">
<div class="container">
<div id="target">Hidden Text</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698