Files
ladybird/Tests/LibWeb/Ref/expected/outline-stacking-order-ref.html
Tim Ledbetter cc559048cc LibWeb: Paint element outlines during Foreground paint phase
Previously, outlines for elements without their own stacking context
were painted during the `FocusAndOverlay` phase, which runs after all
child stacking contexts. This caused outlines to incorrectly appear
on top of elements with higher z-index.
2026-01-20 15:38:54 +01:00

13 lines
208 B
HTML

<!DOCTYPE html>
<style>
.overlay {
position: fixed;
top: 0;
left: 0;
width: 80px;
height: 80px;
background: red;
}
</style>
<div class="overlay"></div>