blob: a8d3ff6cc46edadfae88e40b1386fddecde9b238 [file] [log] [blame]
<!DOCTYPE html>
<style>
#non-composited-pseudo-stacking-context-descendant {
position: relative;
top: 10px;
width: 400px;
background: green;
}
</style>
<div id="non-composited-pseudo-stacking-context-descendant">
This test succeed if the text gets repainted with a green background.<br/>
The text belongs to a (pseudo) stacking context that is enclosed by a composited
non-stacking context. Since the parent is not a stacking context, this (pseudo)
stacking context should be painted as a child stacking context of the root.
</div>