mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
...by another GFC. When searching for grid item that contains an
abspos box positioned relative to GFC, it's incorrect to assume that the
closest ancestor box whose parent establishes GFC is always the one we
are looking for, because there may be non-positioned GFC in between.
Fixes regression introduced in 80c8e78.
5 lines
200 B
HTML
5 lines
200 B
HTML
<!DOCTYPE html><style>
|
|
.outer { display: grid; position: relative; }
|
|
.middle { display: grid; }
|
|
.abs { position: absolute; }
|
|
</style><div class="outer"><div class="middle"><div><div class="abs"></div> |