mirror of
https://github.com/servo/servo
synced 2026-05-10 00:52:08 +02:00
Absolutely positioned elements get blockified, but their static position still depends on the original display. Therefore, if we encounter an abspos with an inline-level original display, we will now ensure that it's handled in an inline formatting context. This way its static position will correctly take into account things like `text-align`. Testing: Several WPT tests are now passing. Fixes: #39017 Signed-off-by: Oriol Brufau <obrufau@igalia.com>