mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
3cf5ad002a
With this change, a stacking context can be established by any paintable, including inline paintables. The stacking context traversal is updated to remove the assumption that the stacking context root is paintable box.
17 lines
330 B
HTML
17 lines
330 B
HTML
<link rel="match" href="reference/inline-stacking-context-ref.html" /><style>
|
|
span {
|
|
z-index: 10;
|
|
background: orange;
|
|
position: relative;
|
|
opacity: 0.5;
|
|
}
|
|
div {
|
|
z-index: 5;
|
|
width: 50px;
|
|
height: 50px;
|
|
background: green;
|
|
position: relative;
|
|
top: -10px;
|
|
}
|
|
</style><span>hello</span><div></div>
|