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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/iframe-inside-squashed-layer.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Based on compositing/squashing/iframe-inside-squashed-layer.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 window.expectedPaintInvalidationObjects = [
6 "RootInlineBox",
7 "InlineTextBox 'test1'",
8 "VerticalScrollbar",
9 "LayoutIFrame IFRAME id='subframe'",
10 "LayoutIFrame IFRAME id='subframe'",
11 "RootInlineBox",
12 "InlineTextBox 'test1'",
13 "VerticalScrollbar",
14 "LayoutIFrame IFRAME id='subframe'",
15 "VerticalScrollbar",
16 "LayoutIFrame IFRAME id='subframe'",
17 "VerticalScrollbar",
18 "LayoutIFrame IFRAME id='subframe'",
19 "VerticalScrollbar",
20 "LayoutIFrame IFRAME id='subframe'",
21 "LayoutView #document",
22 "LayoutView #document",
23 "LayoutBlockFlow HTML",
24 "LayoutBlockFlow BODY",
25 ];
26 function paintInvalidationTest() {
27 window.frames['subframe'].contentDocument.body.style.height = '200px';
28 }
29 </script>
30 <body onload="runPaintInvalidationTest()">
31 <div id="foo" style="width: 200px; height: 1000px; transform: translateZ(0); bac kground-color: lightgray;"></div>
32
33 <!-- The squashing layer will contain the following two divs. Note that the seco nd is 100px lower than the top. -->
34 <div style="position: absolute; z-index: 0; top: 0px; width: 100px; height: 500p x"></div>
35 <div style="position: absolute; z-index: 0; top: 500px; width: 100px; height: 10 0px">
36 <iframe frameborder=0 id="subframe" srcdoc="test1">
37 </iframe>
38 </div>
39 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698