Skip to content

Commit

Permalink
Make getComputedStyle return rules of the node's document.
Browse files Browse the repository at this point in the history
Fixes w3c#2403
  • Loading branch information
emilio committed Apr 11, 2018
1 parent 4f33e21 commit 19b52e8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cssom-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2767,10 +2767,7 @@ partial interface Window {
The <dfn method for=Window>getComputedStyle(<var>elt</var>, <var>pseudoElt</var>)</dfn> method must run these
steps:
<ol>
<li>Let <var>doc</var> be the
{{Document}}
associated with the <code>Window</code> object on
which the method was invoked.
<li>Let <var>doc</var> be <var>elt</var>'s <a>node document</a>.
<li>Let <var>obj</var> be <var>elt</var>.
<li>If <var>pseudoElt</var> is as an
<a>ASCII case-insensitive</a> match for
Expand Down

0 comments on commit 19b52e8

Please sign in to comment.