- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Oct 2022 18:34:59 +0000
- To: public-css-archive@w3.org
> I think that the declaration for `border-top-color` would have been updated in place
It will be updated in place if you do
```js
var el = document.createElement("div");
el.style.borderColor = "green";
el.style.borderBlockStartWidth = "1px";
el.style.borderTopColor = "green";
[...el.style]; // [ "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "border-block-start-width" ]
```
But it won't if you use
```js
var el = document.createElement("div");
el.style.cssText = "border-color: green; border-block-start-width: 1px; border-top-color: green";
[...el.style]; // [ "border-right-color", "border-bottom-color", "border-left-color", "border-block-start-width", "border-top-color" ]
```
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7935#issuecomment-1287311640 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 21 October 2022 18:35:01 UTC