File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -2767,10 +2767,7 @@ partial interface Window {
27672767The <dfn method for=Window>getComputedStyle(<var>elt</var>, <var>pseudoElt</var>)</dfn> method must run these
27682768steps:
27692769<ol>
2770- <li> Let <var> doc</var> be the
2771- {{Document}}
2772- associated with the <code> Window</code> object on
2773- which the method was invoked.
2770+ <li> Let <var> doc</var> be <var> elt</var> 's <a>node document</a> .
27742771 <li> Let <var> obj</var> be <var> elt</var> .
27752772 <li> If <var> pseudoElt</var> is as an
27762773 <a>ASCII case-insensitive</a> match for
@@ -2790,11 +2787,6 @@ steps:
27902787 <dt> <a for="CSSStyleDeclaration">declarations</a>
27912788 <dd> All longhand properties that are <a lt="supported CSS property">supported CSS properties</a> , in lexicographical order, with the value being
27922789 the <a>resolved value</a> computed for <var> obj</var> using the style rules associated with <var> doc</var> .
2793-
2794- Note: This means that even if <var> obj</var> is in a different document (e.g. one fetched via <code> XMLHttpRequest</code> ) it will still use
2795- the style rules associated with the document that is associated with the global object on which
2796- {{Window/getComputedStyle()}} was invoked to compute the <a>CSS declaration block</a> .
2797-
27982790 <dt> <a for="CSSStyleDeclaration">parent CSS rule</a>
27992791 <dd> Null.
28002792 <dt> <a for="CSSStyleDeclaration">owner node</a>
You can’t perform that action at this time.
0 commit comments