mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
When serializing CSS declarations we now support combining multiple properties into a single shorthand property in some cases. This comes with a healthy dose of FIXMEs, including work to be done around supporting: - Nested shorthands (e.g. background, border, etc) - Shorthands which aren't represented by the ShorthandStyleValue type - Subproperties pending substitution This gains us a bunch of new test passes, both for WPT and in-tree
13 lines
463 B
Plaintext
13 lines
463 B
Plaintext
style.cssText = background-color: yellow; background-image: none; background-position: 0% 0%; background-size: auto auto; background-repeat: repeat; background-attachment: scroll; background-origin: padding-box; background-clip: border-box;
|
|
style.length = 9
|
|
style[] =
|
|
1. background-color
|
|
2. background-image
|
|
3. background-position-x
|
|
4. background-position-y
|
|
5. background-size
|
|
6. background-repeat
|
|
7. background-attachment
|
|
8. background-origin
|
|
9. background-clip
|