Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layout: Ensure empty list items are at least as tall as outside marke…
…rs (#32152) While <https://drafts.csswg.org/css-lists/#list-style-position-property> says: > The size or contents of the marker box may affect the height of the > principal block box and/or the height of its first line box, and in some > cases may cause the creation of a new line box; this interaction is also > not defined. All other browsers ensure that the first line of list item content is the same block size as the marker. Doing this is complicated, but we can ensure that the entire list item is at least as tall as the marker. This should handle the majority of cases and we can make refinements later for stranger situations, such as when the marker is very tall. Co-authored-by: Oriol Brufau <obrufau@igalia.com>
- Loading branch information
1 parent
adcaf2e
commit f68a2e7
Showing
13 changed files
with
93 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/CSS2/lists/list-style-applies-to-012.xht.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/CSS2/lists/list-style-applies-to-014.xht.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/CSS2/lists/list-style-type-applies-to-012.xht.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/CSS2/lists/list-style-type-applies-to-014.xht.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/CSS2/margin-padding-clear/padding-left-applies-to-010.xht.ini
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/wpt/meta/css/CSS2/text/text-indent-applies-to-003.xht.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[text-indent-applies-to-003.xht] | ||
expected: FAIL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
tests/wpt/meta/css/css-lists/list-and-margin-collapse-001.html.ini
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,6 @@ | |
|
||
[display: table-caption] | ||
expected: FAIL | ||
|
||
[display: list-item] | ||
expected: FAIL |