mirror of
https://github.com/servo/servo.git
synced 2025-09-16 09:58:23 +01:00
layout: Take text-indent
into account in min/max-content inline sizes (#39230)
The min-content and max-content inline sizes of an inline formatting contentext need to take `text-indent` into account. Note it can be set to a negative amount, so the `ContentSizesComputation` logic needs some tweaks to handle it well. Testing: Fixes various WPT tests Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
d1c3e5f58f
commit
c11670b067
8 changed files with 38 additions and 41 deletions
|
@ -1,2 +0,0 @@
|
|||
[text-indent-applies-to-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-intrinsic-001.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-intrinsic-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-intrinsic-003.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-intrinsic-004.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[text-indent-min-max-content-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[calc-text-indent-intrinsic-1.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue