File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -2767,10 +2767,7 @@ partial interface Window {
2767
2767
The <dfn method for=Window>getComputedStyle(<var>elt</var>, <var>pseudoElt</var>)</dfn> method must run these
2768
2768
steps:
2769
2769
<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> .
2774
2771
<li> Let <var> obj</var> be <var> elt</var> .
2775
2772
<li> If <var> pseudoElt</var> is as an
2776
2773
<a>ASCII case-insensitive</a> match for
@@ -2790,11 +2787,6 @@ steps:
2790
2787
<dt> <a for="CSSStyleDeclaration">declarations</a>
2791
2788
<dd> All longhand properties that are <a lt="supported CSS property">supported CSS properties</a> , in lexicographical order, with the value being
2792
2789
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
-
2798
2790
<dt> <a for="CSSStyleDeclaration">parent CSS rule</a>
2799
2791
<dd> Null.
2800
2792
<dt> <a for="CSSStyleDeclaration">owner node</a>
You can’t perform that action at this time.
0 commit comments