mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
This is required because bounding rect used in `saveLayer()` is computed
in stacking context's coordinate space.
Fixes regression introduced in ba2926f
18 lines
268 B
HTML
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> |