Files
ladybird/Tests/LibWeb/Ref/input/transform-and-opacity.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

16 lines
298 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/transform-and-opacity-ref.html" />
<style>
#outer {
opacity: 0.5;
transform: translate(100px, 100px);
}
#inner {
width: 100px;
height: 100px;
background-color: green;
}
</style>
<div id="outer">
<div id="inner"></div>
</div>