Skip to content

Commit 3924710

Browse files
author
Simon Pieters
committed
[cssom] Editorial: make getComputedStyle's second argument nullable. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=27633
1 parent 8324d3e commit 3924710

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cssom/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2965,7 +2965,7 @@ <h3 id="extensions-to-the-window-interface"><span class="secno">7.2 </span>Exten
29652965

29662966
<pre class="idl">partial interface <a class="external" data-anolis-spec="html" href="https://html.spec.whatwg.org/multipage/browsers.html#window">Window</a> {
29672967
[NewObject] <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <!--
2968-
--><a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#element">Element</a> elt, optional DOMString pseudoElt);
2968+
--><a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#element">Element</a> elt, optional DOMString? pseudoElt);
29692969
};</pre>
29702970

29712971
<p>The <dfn id="dom-window-getcomputedstyle" title="dom-Window-getComputedStyle"><code>getComputedStyle(<var>elt</var>, <var>pseudoElt</var>)</code></dfn> method must run these

cssom/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2882,7 +2882,7 @@ <h3>Extensions to the <code title>Window</code> Interface</h3>
28822882

28832883
<pre class=idl>partial interface <span data-anolis-spec=html>Window</span> {
28842884
[NewObject] <span>CSSStyleDeclaration</span> <!--
2885-
--><span title=dom-Window-getComputedStyle>getComputedStyle</span>(<span data-anolis-spec=dom>Element</span> elt, optional DOMString pseudoElt);
2885+
--><span title=dom-Window-getComputedStyle>getComputedStyle</span>(<span data-anolis-spec=dom>Element</span> elt, optional DOMString? pseudoElt);
28862886
};</pre>
28872887

28882888
<p>The <dfn title=dom-Window-getComputedStyle><code>getComputedStyle(<var>elt</var>, <var>pseudoElt</var>)</code></dfn> method must run these

0 commit comments

Comments
 (0)