You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm coming at this from microsoft/TypeScript#13466 which correctly points out that there is no setter for style in the old spec for ElementCSSInlineStyle. TS stops at that, and setting HTMLElement.style is thus a type error (same for SVGElement, both inherit from the mixin).
So I went out fishing for a spec for the setter and came out empty handed. The new CSSWG spec also lacks a setter... Is there such a thing, somewhere?
The text was updated successfully, but these errors were encountered:
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.
I'm coming at this from microsoft/TypeScript#13466 which correctly points out that there is no setter for
style
in the old spec forElementCSSInlineStyle
. TS stops at that, and settingHTMLElement.style
is thus a type error (same forSVGElement
, both inherit from the mixin).So I went out fishing for a spec for the setter and came out empty handed. The new CSSWG spec also lacks a setter... Is there such a thing, somewhere?
The text was updated successfully, but these errors were encountered: