mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
Previously, sticky elements were excluded from propagating their scroll frame to descendants' accumulated visual context. This meant that when a sticky element also had scrollable overflow, the scroll offset was never visually applied to its children during painting.
11 lines
174 B
HTML
11 lines
174 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
body { margin: 0; }
|
|
.green {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<div class="green"></div>
|