-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix imported/w3c/web-platform-tests/css/css-tables/auto-layout-calc-w…
…idth-001.html https://bugs.webkit.org/show_bug.cgi?id=262918 <rdar://problem/116697508> Reviewed by Antti Koivisto. Calc width on col is treated as auto in auto tables. * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/css/css-tables/auto-layout-calc-width-001-expected.txt: * Source/WebCore/rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::recalcColumn): Canonical link: https://commits.webkit.org/269139@main
- Loading branch information
1 parent
486a572
commit 5d37f68
Showing
3 changed files
with
13 additions
and
17 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
10 changes: 1 addition & 9 deletions
10
...ts/imported/w3c/web-platform-tests/css/css-tables/auto-layout-calc-width-001-expected.txt
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,13 +1,5 @@ | ||
Calc width on col is treated as auto in auto tables | ||
|
||
|
||
FAIL #theTable 1 assert_equals: | ||
<table id="theTable"> | ||
<colgroup><col style="width:calc(20% + 80px)"> | ||
</colgroup><tbody><tr> | ||
<td data-expected-width="100"></td> | ||
<td data-expected-width="100"></td> | ||
</tr> | ||
</tbody></table> | ||
width expected 100 but got 0 | ||
PASS #theTable 1 | ||
|
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