mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
CSS Grid: percentage sizing fixes (#34948)
This applies some fixes for CSS Grid percentage sizing. These fixes are mostly within Taffy, but there are some changes in Servo to allow it to communicate whether an item is replaced to Taffy. It also updates Taffy to v0.8.0. Taffy has switched to a tagged pointer representation of length/size styles. Much of the diff here is updating Servo's type conversion code to use the new representation. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes OR --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
parent
bd6639aadb
commit
1b5a10a55f
10 changed files with 111 additions and 105 deletions
|
@ -1,2 +1,3 @@
|
|||
[grid-self-baseline-changes-grid-area-size-002.html]
|
||||
expected: FAIL
|
||||
expected:
|
||||
if os == "linux": FAIL
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[grid-support-grid-auto-columns-rows-003.html]
|
||||
expected: CRASH
|
|
@ -1,11 +1,7 @@
|
|||
[grid-template-columns-computed-implicit-track.html]
|
||||
expected: CRASH
|
||||
[Property grid-template-columns value 'none' computes to '10px']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px' computes to '10px 1px']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px [a\]' computes to '10px 1px [a\]']
|
||||
expected: FAIL
|
||||
|
||||
|
@ -18,15 +14,6 @@
|
|||
[Property grid-template-columns value '[a\] 1px [b\]' computes to '10px [a\] 1px [b\]']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px repeat(1, 2px) 3px' computes to '10px 1px 2px 3px']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px repeat(auto-fill, 2px) 3px' computes to '10px 1px 2px 3px']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px repeat(auto-fit, 2px) 3px' computes to '10px 1px 0px 3px']
|
||||
expected: FAIL
|
||||
|
||||
[Property grid-template-columns value '1px [a\] repeat(1, 2px 3px) [b\] 4px' computes to '10px 1px [a\] 2px 3px [b\] 4px']
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
[grid-auto-flow-sparse-001.html]
|
||||
[.grid 2]
|
||||
expected: FAIL
|
||||
|
||||
[.grid 6]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue