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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer-expected.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer.html b/third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer-expected.html
similarity index 60%
copy from third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer.html
copy to third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer-expected.html
index cf15e30f92c02924175944d1099e339f0645009f..028a358cb00b2b029cc5959245cd03ad96e9fca2 100644
--- a/third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer.html
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/iframe-inside-squashed-layer-expected.html
@@ -1,17 +1,11 @@
<!DOCTYPE html>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- window.frames['subframe'].contentDocument.body.style.height = '200px';
-}
-</script>
-<body onload="runRepaintTest()">
+<body>
<div id="foo" style="width: 200px; height: 1000px; transform: translateZ(0); background-color: lightgray;"></div>
<!-- The squashing layer will contain the following two divs. Note that the second is 100px lower than the top. -->
<div style="position: absolute; z-index: 0; top: 0px; width: 100px; height: 500px"></div>
<div style="position: absolute; z-index: 0; top: 500px; width: 100px; height: 100px">
- <iframe frameborder=0 id="subframe" srcdoc="test1">
+ <iframe frameborder=0 id="subframe" srcdoc="<body style='height: 200px'>test1</body>">
</iframe>
</div>
-</body>
+</body>

Powered by Google App Engine
This is Rietveld 408576698