mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Improve intrinsic sizing and white-space handling around forced line breaks (#30351)
* Take forced line breaks into account for intrinsic size Fixes #30350. * Don't linebreak on collapsible whitespace This whitespace can hang off the end of the line, because it will be trimmed LineItem layout. * Update float placement after line breakage Also don't ever line break for collapsible whitespace. * Fix a few more test cases and clean up * Renaming according to review comments
This commit is contained in:
parent
abca586e0a
commit
38d9a5eae0
15 changed files with 96 additions and 78 deletions
|
@ -13,3 +13,6 @@
|
|||
|
||||
[#target > div 6]
|
||||
expected: FAIL
|
||||
|
||||
[#target > div 2]
|
||||
expected: FAIL
|
||||
|
|
|
@ -25,6 +25,3 @@
|
|||
|
||||
[.target > * 12]
|
||||
expected: FAIL
|
||||
|
||||
[.target > * 10]
|
||||
expected: FAIL
|
||||
|
|
|
@ -25,6 +25,3 @@
|
|||
|
||||
[.target > * 12]
|
||||
expected: FAIL
|
||||
|
||||
[.target > * 8]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue