Skip to content

Commit 94fdd8a

Browse files
saschanazemilio
authored andcommitted
Return CSSStyleProperties from element.style and getComputedStyle
Followup for #9686
1 parent 6d3a3ac commit 94fdd8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cssom-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3052,11 +3052,11 @@ The <code>ElementCSSInlineStyle</code> mixin provides access to inline style pro
30523052

30533053
<pre class=idl>
30543054
interface mixin ElementCSSInlineStyle {
3055-
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
3055+
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
30563056
};
30573057
</pre>
30583058

3059-
The <dfn attribute for=ElementCSSInlineStyle>style</dfn> attribute must return a <a>CSS declaration block</a> object whose
3059+
The <dfn attribute for=ElementCSSInlineStyle>style</dfn> attribute must return a <a>CSSStyleProperties</a> object whose
30603060
<a for="CSSStyleDeclaration">readonly flag</a> is unset, whose <a for="CSSStyleDeclaration">parent CSS rule</a> is null, and
30613061
whose <a for="CSSStyleDeclaration">owner node</a> is [=this=].
30623062

@@ -3083,7 +3083,7 @@ Extensions to the {{Window}} Interface {#extensions-to-the-window-interface}
30833083

30843084
<pre class=idl>
30853085
partial interface Window {
3086-
[NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
3086+
[NewObject] CSSStyleProperties getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
30873087
};
30883088
</pre>
30893089

0 commit comments

Comments
 (0)