LibWeb: Omit initial values from background CSS property serialization

This commit is contained in:
Callum Law 2025-06-03 20:10:12 +12:00 committed by Sam Atkins
parent 06e3f298d0
commit 0a53aaa3b6
Notes: github-actions[bot] 2025-06-09 09:45:10 +00:00
3 changed files with 33 additions and 5 deletions

View file

@ -1,2 +1,2 @@
:root { background: transparent none 1px 1px auto auto repeat scroll padding-box border-box; }
:root { background: 1px 1px; }
PASS (didn't crash)

View file

@ -174,7 +174,7 @@ All supported properties and their default values exposed from CSSStylePropertie
'aspect-ratio': 'auto'
'backdropFilter': 'none'
'backdrop-filter': 'none'
'background': 'rgba(0, 0, 0, 0) none 0% 0% auto auto repeat scroll padding-box border-box'
'background': 'none'
'backgroundAttachment': 'scroll'
'background-attachment': 'scroll'
'backgroundBlendMode': 'normal'