mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
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.
13 lines
208 B
HTML
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>
|