13 border:
1px solid black;
17 border:
1px solid black;
22 background-color: green;
28 background-color: green;
35 background-color: blue;
46 if (window
.testRunner
)
47 testRunner
.dumpAsText(false);
49 if (window
.internals
) {
50 window
.internals
.settings
.setPreferCompositingToLCDTextEnabled(true);
58 This iframe should not have a scroll parent because its
59 parent (class="float") has a scroll parent and this would
62 <iframe src=
"resources/composited-subframe.html"></iframe>
64 <div class=
"float stacking-context">
66 This iframe should not have a scroll parent because its
67 parent (class="float") has a scroll parent and this would
70 <iframe class=
"stacking-context" src=
"resources/composited-subframe.html"></iframe>
73 The problem here is that this iframe thinks it has a scroll parent, even though
74 it would totally be parented under its scroll parent since it's normal flow.
75 This is one of those rare cases where we have a composited layer in the normal
78 <iframe src=
"resources/composited-subframe.html"></iframe>
79 <div class=
"fixed neg-z-order"></div>
80 <div class=
"scrolled neg-z-order"></div>
81 <div class=
"scrolled"></div>
82 <div class=
"scrolled"></div>
83 <div class=
"scrolled"></div>
85 <pre id=
"layers">Pass -- this test passes if it does not crash.
</pre>