layout: Respond to shorthand property requests with real values (#31277)

* Respond to shorthand property requests with real values

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Cleanup formatting and old comments

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Update WPT expectations

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Refactor out helper fn

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

* Cleanup

Signed-off-by: Sebastian C <sebsebmc@gmail.com>

---------

Signed-off-by: Sebastian C <sebsebmc@gmail.com>
This commit is contained in:
Sebastian C 2024-02-10 17:15:17 -06:00 committed by GitHub
parent 0342d6beb0
commit 19667e117a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 155 additions and 1666 deletions

View file

@ -1,7 +1,4 @@
[font-shorthand-serialization-prevention.html]
[Setting font-family to sans-serif should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant to initial should not prevent the font shorthand from serializing in computed style]
expected: FAIL
@ -26,47 +23,14 @@
[Setting font-variant to none should prevent the font shorthand from serializing in specified style]
expected: FAIL
[Setting font-variant to small-caps should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant to all-small-caps should prevent the font shorthand from serializing in specified style]
expected: FAIL
[Setting font-variant-caps to initial should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to inherit should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to unset should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to revert should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to revert-layer should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to small-caps should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-variant-caps to all-small-caps should prevent the font shorthand from serializing in specified style]
expected: FAIL
[Setting font-stretch to initial should not prevent the font shorthand from serializing in computed style]
[Setting font-variant to all-small-caps should prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-stretch to inherit should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-stretch to unset should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-stretch to revert should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-stretch to revert-layer should not prevent the font shorthand from serializing in computed style]
expected: FAIL
[Setting font-stretch to normal should not prevent the font shorthand from serializing in computed style]
[Setting font-variant-caps to all-small-caps should prevent the font shorthand from serializing in computed style]
expected: FAIL