mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Use fragment extents for orthogonal inline widths
Inline formatting contexts in vertical writing modes were measuring intrinsic width from the line box width. That width still tracks the line-height-sized horizontal span, so shrink-to-fit abspos sizing could stay at 50px even when the text fragments only covered 25px. Measure the physical horizontal extent from the line box fragments instead, including the float-aware block formatting context path. This makes orthogonal inline content report the correct intrinsic width.
This commit is contained in:
committed by
Andreas Kling
parent
eb8943cd55
commit
9526dfbef3
Notes:
github-actions[bot]
2026-04-04 22:04:16 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/9526dfbef3b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8781
@@ -2,10 +2,11 @@ Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Fail
|
||||
3 Pass
|
||||
3 Fail
|
||||
Fail .before 1
|
||||
Fail .before 2
|
||||
Pass .before 2
|
||||
Fail .before 3
|
||||
Fail .after 4
|
||||
Fail .after 5
|
||||
Fail .after 6
|
||||
Pass .after 5
|
||||
Pass .after 6
|
||||
@@ -2,10 +2,11 @@ Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Fail
|
||||
3 Pass
|
||||
3 Fail
|
||||
Fail .before 1
|
||||
Fail .before 2
|
||||
Fail .before 3
|
||||
Pass .before 2
|
||||
Pass .before 3
|
||||
Fail .after 4
|
||||
Fail .after 5
|
||||
Pass .after 5
|
||||
Fail .after 6
|
||||
@@ -2,5 +2,5 @@ Harness status: OK
|
||||
|
||||
Found 1 tests
|
||||
|
||||
1 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
Pass .grid 1
|
||||
Reference in New Issue
Block a user