Skip to content

Commit cf94532

Browse files
fooliptabatkins
authored andcommitted
Use partial interface mixin ElementCSSInlineStyle (#853)
https://drafts.csswg.org/cssom/#the-elementcssinlinestyle-interface is an interface mixin, and the partial must match this. Update the prose to reflect this as well.
1 parent 82f3682 commit cf94532

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-typed-om/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ partial interface CSSStyleRule {
729729
[SameObject] readonly attribute StylePropertyMap styleMap;
730730
};
731731

732-
partial interface ElementCSSInlineStyle {
732+
partial interface mixin ElementCSSInlineStyle {
733733
[SameObject] readonly attribute StylePropertyMap attributeStyleMap;
734734
};
735735
</pre>
@@ -738,8 +738,8 @@ partial interface ElementCSSInlineStyle {
738738
represent style property-value pairs embedded in a style rule or inline style,
739739
and are accessed via the <dfn attribute for=CSSStyleRule>styleMap</dfn> attribute of {{CSSStyleRule}} objects,
740740
or the <dfn attribute for="ElementCSSInlineStyle">attributeStyleMap</dfn> attribute
741-
of objects implementing the {{ElementCSSInlineStyle}} interface
742-
(such as {{Element}}s).
741+
of objects implementing the {{ElementCSSInlineStyle}} interface mixin
742+
(such as {{HTMLElement}}s).
743743

744744
When constructed, the {{[[declarations]]}} internal slot for [=declared StylePropertyMap=] objects
745745
is initialized to contain an entry

0 commit comments

Comments
 (0)