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

Unified Diff: LayoutTests/paint/invalidation/spv2/block-shift-repaint-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/block-shift-repaint-expected.html
diff --git a/LayoutTests/fast/repaint/block-shift-repaint.html b/LayoutTests/paint/invalidation/spv2/block-shift-repaint-expected.html
similarity index 57%
copy from LayoutTests/fast/repaint/block-shift-repaint.html
copy to LayoutTests/paint/invalidation/spv2/block-shift-repaint-expected.html
index 4c0feed15cadefd8f6b5d4ccf502e78106870839..c270f24ab9b7a6a9537311dc80693db7108901fd 100644
--- a/LayoutTests/fast/repaint/block-shift-repaint.html
+++ b/LayoutTests/paint/invalidation/spv2/block-shift-repaint-expected.html
@@ -10,46 +10,29 @@
.half { height: 30px; width: 60px; }
.full { height: 60px; width: 60px; }
</style>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- var div1 = document.getElementById("div1");
- div1.style.height = "0";
-
- var div2 = document.getElementById("div2");
- div2.style.height = "30px";
-
- var top = document.getElementById("top");
- top.style.height = "0";
-
- var top = document.getElementById("innerDiv");
- innerDiv.style.height = "15px";
- }
- </script>
</head>
-<body onload="runRepaintTest()">
+<body>
<div class="playground">
- <div id="div1" class="blue half"></div>
+ <div id="div1" class="blue zero"></div>
<div class="red half"></div>
<div class="green half"></div>
</div>
<div class="playground">
- <div><div id="top" class="blue half"></div></div>
+ <div><div id="top" class="blue zero"></div></div>
<div class="red half"></div>
<div class="green half"></div>
</div>
<div class="playground">
- <div id="div2" class="zero"></div>
+ <div id="div2" class="half"></div>
<div class="green half"></div>
<div class="red half"></div>
</div>
<div class="playground" style="margin-top: 30px;">
<div style="width: 10px; margin: auto;">
- <div id="innerDiv"></div>
+ <div id="innerDiv" style="height: 15px"></div>
</div>
<div class="half"></div>
<div class="half" style="border-top: solid yellow 8px;"></div>

Powered by Google App Engine
This is Rietveld 408576698