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

Unified Diff: LayoutTests/paint/invalidation/spv2/content-into-overflow-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/content-into-overflow-expected.html
diff --git a/LayoutTests/fast/repaint/content-into-overflow.html b/LayoutTests/paint/invalidation/spv2/content-into-overflow-expected.html
similarity index 65%
copy from LayoutTests/fast/repaint/content-into-overflow.html
copy to LayoutTests/paint/invalidation/spv2/content-into-overflow-expected.html
index 8f605a7a41a2ff3345b91c2507cf15249e42f931..9d2ebcddf1530c3667b114dd733ffb47c36009d7 100644
--- a/LayoutTests/fast/repaint/content-into-overflow.html
+++ b/LayoutTests/paint/invalidation/spv2/content-into-overflow-expected.html
@@ -4,31 +4,21 @@
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
<style type="text/css">
div.wide { width: 100px; height: 50px; }
- div.narrow { width: 50px; }
div.tall { width: 50px; height: 100px; }
div.short { height: 50px; width: 50px; }
#main-content { float: left; width: 100px; height: 80px; }
- #target3 { display: none; clear: both; height: 20px; background: green; }
+ #target3 { clear: both; height: 20px; background: green; }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script>
- function repaintTest()
- {
- document.getElementById('target1').style.width = 'auto';
- document.getElementById('target2').style.height = 'auto';
- document.getElementById('target3').style.display = 'block';
- }
- </script>
</head>
-<body onload="runRepaintTest();">
+<body">
<div style="position: absolute; border: medium solid green; top: 8px; height: 100px;">
- <div class="narrow" id="target1">
+ <div id="target1">
<div class="wide"></div>
</div>
</div>
<div style="position: absolute; border: medium solid green; top: 158px; width: 100px;">
- <div class="short" id="target2">
+ <div style="width: 50px" id="target2">
<div class="tall"></div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698