LibWeb: Correctly position absolute inline boxes in last line

If we were calculating the static position for an absolutely positioned
inline box that resides in the last line of its containing block, we
would not have yet provided the fragments in that line with their
final positions. Additionally, we would always move the box beneath the
fragment, which was incorrect.

Fixes #5867.
This commit is contained in:
Jelle Raaijmakers
2025-08-28 00:03:09 +02:00
committed by Jelle Raaijmakers
parent 349fdd9f47
commit c8d24d4966
Notes: github-actions[bot] 2025-08-28 11:46:46 +00:00
3 changed files with 33 additions and 20 deletions

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html>
foo <span style="position:absolute">bar</span>