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

Unified Diff: LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl-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/paged-with-overflowing-block-rl-expected.html
diff --git a/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html b/LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl-expected.html
similarity index 52%
copy from LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
copy to LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl-expected.html
index a0d760fc5ebbadeec47a5e8a51520de05b19de14..effdeca1e02fd8c3297f44d6460b39963faa7fb7 100644
--- a/LayoutTests/fast/repaint/paged-with-overflowing-block-rl.html
+++ b/LayoutTests/paint/invalidation/spv2/paged-with-overflowing-block-rl-expected.html
@@ -1,21 +1,11 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
- if (window.internals)
- onload = runRepaintTest;
- else
- onclick = repaintTest;
- function repaintTest() {
- document.getElementById('elm').style.background = 'green';
- }
-</script>
<div id="container" style="overflow:-webkit-paged-x; -webkit-column-gap:0; width:500px; height:500px; -webkit-writing-mode:vertical-rl;">
<div style="width:100px;">
- <div id="elm" style="width:1000px; background:yellow;"></div>
+ <div id="elm" style="width:1000px; background:green;"></div>
</div>
</div>
<script>
document.getElementById("container").scrollLeft = 0;
</script>
<p>Test changing the background color of a big block that overflows the flow thread.</p>
-<p>A green square with a horizontal scrollbar should be seen above (if tested manually, you need to click first).</p>
+<p>A green square with a horizontal scrollbar should be seen above.</p>

Powered by Google App Engine
This is Rietveld 408576698