Re: [csswg-drafts] [cssom] CSSStyleRule.style liveness (?) differs across browsers

The first "readonly" there is the IDL attribute, saying that the `style` property doesn't have a setter.  (On the other hand, it does have a `PutForwards=cssText` that is setter-like, and requires the presence of `readonly`.)  See [readonly](https://heycam.github.io/webidl/#dfn-read-only) and [`PutForwards`](https://heycam.github.io/webidl/#PutForwards).  This means that assignment to `style` forwards to assignment to `style.cssText`.

The second "readonly" you quote there is whether the `CSSStyleDeclaration` object's mutation methods work; see [readonly flag](https://drafts.csswg.org/cssom/#cssstyledeclaration-readonly-flag).

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

Received on Wednesday, 7 June 2017 21:03:29 UTC