layout: support CSS will-change (#35787)

* support CSS `will-change`



* update wpt-test result



* Enable css-will-change test



* Update css-will-change test results



* Check transformable before will-change; update wpt-results



* Solve merge conflict



* Update Cargo.toml and Cargo.lock



* Mark new failing test-cases


---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
Euclid Ye 2025-03-10 00:15:28 +08:00 committed by GitHub
parent 66583ce3c9
commit 4d73de3dde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 84 additions and 71 deletions

View file

@ -115,8 +115,6 @@ skip: true
skip: true
[css-viewport]
skip: true
[css-will-change]
skip: true
[css-writing-modes]
skip: true
[fetching]

View file

@ -4,12 +4,3 @@
[Property padding value '10px 20% 30% 40px']
expected: FAIL
[Property padding-right value '20%']
expected: FAIL
[Property padding-top value 'calc(10% - 40px)']
expected: FAIL
[Property padding-right value 'calc(10% + 40px)']
expected: FAIL

View file

@ -1,9 +0,0 @@
[margin-block-inline-computed.html]
[Property margin-block-end value '10%']
expected: FAIL
[Property margin-block-start value 'calc(10% + 40px)']
expected: FAIL
[Property margin-inline-end value 'calc(10% + 40px)']
expected: FAIL

View file

@ -1,15 +0,0 @@
[padding-block-inline-computed.html]
[Property padding-block-end value '10%']
expected: FAIL
[Property padding-block-start value 'calc(10% + 40px)']
expected: FAIL
[Property padding-block-end value 'calc(10% - 40px)']
expected: FAIL
[Property padding-inline-start value 'calc(10% - 40px)']
expected: FAIL
[Property padding-inline-end value 'calc(10% + 40px)']
expected: FAIL

View file

@ -1,12 +0,0 @@
[position-absolute-dynamic-containing-block.html]
[fixed containing block moves from outer to intermediate]
expected: FAIL
[fixed containing block moves from intermediate to outer]
expected: FAIL
[target is no longer fixed]
expected: FAIL
[target becomes fixed]
expected: FAIL

View file

@ -1,3 +0,0 @@
[transform-important.html]
[CSS Transforms: !important flag parsing]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-abspos-cb-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixedpos-cb-003.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixedpos-cb-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixedpos-cb-005.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixpos-cb-contain-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixpos-cb-offset-path-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-fixpos-cb-webkit-perspective-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-stacking-context-backdrop-filter-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-stacking-context-mask-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-stacking-context-mask-image-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-stacking-context-offset-path-1.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[will-change-stacking-context-view-transition-name-1.html]
expected: FAIL