LibWeb: Don't serialize shorthand with non-uniform CSS-wide keywords

This commit is contained in:
Callum Law
2025-06-11 15:25:28 +12:00
committed by Sam Atkins
parent 3c6b8d5a2c
commit f8f4da3b90
Notes: github-actions[bot] 2025-06-16 11:39:06 +00:00
5 changed files with 253 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
Harness status: OK
Found 11 tests
5 Pass
6 Fail
Fail All properties can serialize 'initial'
Fail All properties (except 'all') can serialize their initial value (computed)
Fail All properties (except 'all') can serialize their initial value (specified)
Fail All shorthands can serialize their longhands set to 'initial'
Fail All shorthands (except 'all') can serialize their longhands set to their initial value
Pass All aliases can serialize target property set to 'initial'
Pass All aliases can serialize target property set to its initial value
Fail Can't serialize shorthand when longhands are set to different css-wide keywords
Pass Can't serialize shorthand when longhands have different priority
Pass Can't serialize shorthand set to 'initial' when some longhand is missing
Pass Can't serialize shorthand set to initial value when some longhand is missing