mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Fix column and row measures (#31480)
The min-content size of a table track was >= the max-content size. So - For the min-content size of a column, now we just use min-inline-size, ignoring inline-size and max-inline-size. This matches Gecko, Blink and WebKit. - For the max-content size of a column, we keep matching Gecko. Note that Blink and WebKit are different, they ignore max-inline-size. - For both the min-content and max-content sizes of a row, now we just use block-size. This matches Gecko, Blink and WebKit. Also, if the computed value contains percentages, now we treat it as the initial value, instead of resolving percentages against zero. This matches Gecko and Blink, but not WebKit for rows.
This commit is contained in:
parent
a977729a9e
commit
e76770202c
2 changed files with 21 additions and 21 deletions
|
@ -23,9 +23,6 @@
|
|||
[table 17]
|
||||
expected: FAIL
|
||||
|
||||
[table 18]
|
||||
expected: FAIL
|
||||
|
||||
[table 19]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -38,9 +35,6 @@
|
|||
[table 23]
|
||||
expected: FAIL
|
||||
|
||||
[table 24]
|
||||
expected: FAIL
|
||||
|
||||
[table 25]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue