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

Unified Diff: LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden-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/negative-text-indent-with-overflow-hidden-expected.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-expected.html
similarity index 55%
copy from LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
copy to LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden-expected.html
index 049fc1283faec358df16c4ca23f51c48c504667e..36a4026e93fb088317beb0313829aee2d131934b 100644
--- a/LayoutTests/fast/repaint/negative-text-indent-with-overflow-hidden.html
+++ b/LayoutTests/paint/invalidation/spv2/negative-text-indent-with-overflow-hidden-expected.html
@@ -14,23 +14,13 @@
width: 200px;
height: 50px;
overflow: hidden;
- background-color: green;
- }
-
- #target.changed, #target:hover {
background-color: blue;
}
</style>
- <script src="resources/text-based-repaint.js"></script>
- <script>
- function repaintTest() {
- document.getElementById('target').classList.add('changed');
- }
- </script>
</head>
-<body onload="runRepaintTest();">
+<body">
<div class="container">
- <div id="target">Hidden Text</div>
+ <div id="target"></div>
</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698