Re: [csswg-drafts] [cssom] is setting Element.style as a string specified anywhere? ElementCSSInlineStyle only has the getter (#5127)

Yes, in CSSOM: https://drafts.csswg.org/cssom/#elementcssinlinestyle

```webidl
interface mixin ElementCSSInlineStyle {
  [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
};
```

Where `PutForwards=cssText` means (https://heycam.github.io/webidl/#PutForwards)

> If the [PutForwards] extended attribute appears on a read only regular attribute declaration whose type is an interface type, it indicates that assigning to the attribute will have specific behavior. Namely, the assignment is “forwarded” to the attribute (specified by the extended attribute argument) on the object that is currently referenced by the attribute being assigned to.

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

Received on Thursday, 28 May 2020 23:52:53 UTC