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

Unified Diff: LayoutTests/paint/invalidation/spv2/stacking-context-lost-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/stacking-context-lost-expected.html
diff --git a/LayoutTests/fast/repaint/stacking-context-lost.html b/LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html
similarity index 54%
copy from LayoutTests/fast/repaint/stacking-context-lost.html
copy to LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html
index 38fb7abe0da5cec032ee16a647422685df6f3756..4ae17b52e062a4dc863950cdf05ee86d07306dc9 100644
--- a/LayoutTests/fast/repaint/stacking-context-lost.html
+++ b/LayoutTests/paint/invalidation/spv2/stacking-context-lost-expected.html
@@ -1,21 +1,9 @@
<!DOCTYPE html>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- outer.style.zIndex = 'auto';
- inner.style.display = 'none';
-}
-
-runRepaintTest();
-</script>
<div style="position: absolute; top: 10px; left: 10px; height: 100px;">
There should be one green box below. A red box may be seen briefly, but the page should settle
on showing only the one green box. Intent is to ensure that we accurately repaint the red box
region when (1) the green box containing the red box ceases to be a stacking context, and (2)
the red box is hidden.
</div>
-<div id="outer" style="background-color: green; height: 100px; width: 100px; backface-visibility: hidden; position: relative; z-index: 1; top: 270px; left: 270px;">
- <div id="inner" style="background-color: red; height: 100px; width: 100px; position: relative;">
- </div>
+<div id="outer" style="background-color: green; height: 100px; width: 100px; backface-visibility: hidden; position: relative; top: 270px; left: 270px;">
</div>

Powered by Google App Engine
This is Rietveld 408576698