Re: [csswg-drafts] Compat (not sure what spec) setting `.style.border` to `"none"` sets it to `"medium"` (#13343)

See #8155 for the shortest serialization.

And `element.style` not being updated stems from this step:

  > 10. If `updated` is true, [update style attribute for](https://drafts.csswg.org/cssom-1/#update-style-attribute-for) the [CSS declaration block](https://drafts.csswg.org/cssom-1/#css-declaration-block).

https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-setproperty

  > 4. [Update style attribute for](https://drafts.csswg.org/cssom-1/#update-style-attribute-for) the [CSS declaration block](https://drafts.csswg.org/cssom-1/#css-declaration-block).

https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-csstext

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13343#issuecomment-3746276372 using your GitHub account


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

Received on Tuesday, 13 January 2026 19:55:21 UTC