[csswg-drafts] [cssom] Serialization of style when shorthands set properties to their initial defaults (#8198)

darinadler has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] Serialization of style when shorthands set properties to their initial defaults ==
We set this style on an element:
```
border-top: 1px; border-right: 2px; border-bottom: 3px; border-left: 4px;
```
When reading back as specified style I think it should be:
```
border-width: 1px 2px 3px 4px; border-style: none; border-color: currentcolor;
```
Not very aesthetically appealing, but I think this is what the shorthands rules mean. The web platform tests have a test that expects this:
```
border-width: 1px 2px 3px 4px;
```
Do either of these seem right? Which one?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8198 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 7 December 2022 22:07:28 UTC