3 if (window
.internals
) {
4 internals
.settings
.setCSSStickyPositionEnabled(true);
7 <style type=
"text/css">
13 background-color: green
;
17 background-color: red
;
22 Tests that the sticky node will be popped out into a stacking context on top of the node which follows it. You should
23 see no red boxes as the green sticky div should pop on top of the red div placed under it.
25 <div class=
"sticky"></div>
26 <div class=
"red"></div>