forked from servo/servo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layout: Improve logic for block size of table (servo#34947)
The containing block for children already has the size coming from the style and the rules of the parent formatting context, so no need to try to recompute it. This allows removing a bunch of functions, and fixes some problems when the table is a flex item. Signed-off-by: Oriol Brufau <[email protected]>
- Loading branch information
1 parent
f66cd17
commit 4332c1e
Showing
10 changed files
with
8 additions
and
119 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
6 changes: 0 additions & 6 deletions
6
tests/wpt/meta/css/css-align/abspos/table-align-self-stretch.html.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 |
---|---|---|
@@ -1,10 +1,4 @@ | ||
[table-align-self-stretch.html] | ||
[.item 1] | ||
expected: FAIL | ||
|
||
[.item 3] | ||
expected: FAIL | ||
|
||
[.item 5] | ||
expected: FAIL | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/flexbox-align-self-horiz-001-table.xhtml.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/table-as-item-inflexible-in-column-1.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/table-as-item-inflexible-in-column-2.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/table-as-item-min-height-1.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/table-as-item-narrow-content-2.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/css/css-flexbox/table-as-item-specified-width-vertical.html.ini
This file was deleted.
Oops, something went wrong.