Files
ladybird/Tests/LibWeb/Ref/expected/transform-and-opacity-ref.html
Aliaksandr Kalenik 90432f35d5 LibWeb: Call saveLayer() after applying matrix in PushStackingContext
This is required because bounding rect used in `saveLayer()` is computed
in stacking context's coordinate space.

Fixes regression introduced in ba2926f
2025-09-25 04:39:26 +02:00

18 lines
268 B
HTML

<!DOCTYPE html>
<style>
#outer {
position: relative;
}
#inner {
top: 100px;
left: 100px;
width: 100px;
height: 100px;
opacity: 0.5;
position: relative;
background-color: green;
}
</style>
<div id="outer">
<div id="inner"></div>
</div>