blob: 0ac06179271a0afb8800826379a349f00827b377 [file] [log] [blame]
<!DOCTYPE html>
This test verifies fixed-pos element escapes clip correctly, even if its true clipping container is not a stacking context.
It succeeds if a 50x50 green box is shown below.
<div style="overflow:hidden; width:100px; height:100px;">
<div style="transform:translateX(0); width:100px; height:100px;">
<div style="position:relative; width:10px; height:10px; overflow:hidden;">
<div style="will-change:transform;">Promote</div>
<div style="position:absolute; z-index:0; top:0; left:0; width:300px; height:200px;">
<div style="position:fixed; left:0; top:0; width:50px; height:50px; background:green;">
</div>
</div>
</div>
</div>
</div>