You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cssom/Overview.html
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1012,8 +1012,11 @@ <h3 id="css-style-sheet-collections"><span class="secno">6.2 </span>CSS Style Sh
1012
1012
<li><p>Create a new <ahref="#css-style-sheet">CSS style sheet</a> object and set its
1013
1013
properties as specified.</li>
1014
1014
1015
-
<li><p>Then run the <ahref="#add-a-css-style-sheet">add a CSS style sheet</a> steps for the newly
1016
-
created <ahref="#css-style-sheet">CSS style sheet</a>.</li>
1015
+
<li>
1016
+
<p>Then run the <ahref="#add-a-css-style-sheet">add a CSS style sheet</a> steps for the newly created <ahref="#css-style-sheet">CSS style sheet</a>.
1017
+
1018
+
<pclass="warning">If the <ahref="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> is unset, this can expose information from the user's
1019
+
intranet.
1017
1020
</ol>
1018
1021
1019
1022
<p>To <dfnid="add-a-css-style-sheet">add a CSS style sheet</dfn>, run these
<pclass="note">Because of historical IDL limitations the <codetitle="dom-Window-getComputedStyle"><ahref="#dom-window-getcomputedstyle">getComputedStyle()</a></code> method used to be on
2754
2757
a separate interface, <codetitle="">ViewCSS</code>.</p>
2755
2758
2756
-
2759
+
<pclass="warning">The <codetitle="dom-Window-getComputedStyle"><ahref="#dom-window-getcomputedstyle">getComputedStyle()</a></code> method exposes information from <ahref="#css-style-sheet" title="CSS style sheet">CSS style
2760
+
sheets</a> with the <ahref="#concept-css-style-sheet-origin-clean-flag" title="concept-css-style-sheet-origin-clean-flag">origin-clean flag</a> unset.
@@ -2798,6 +2802,9 @@ <h3 id="the-getstyleutils-interface"><span class="secno">7.3 </span>The <code ti
2798
2802
computed for the <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a> using the style rules associated
2799
2803
with the <aclass="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#context-object">context object</a>'s <ahref="#associated-document">associated document</a>.</p>
2800
2804
2805
+
<pclass="warning">The <codetitle="dom-GetStyleUtils-specifiedStyle"><ahref="#dom-getstyleutils-specifiedstyle">specifiedStyle</a></code>, <codetitle="dom-GetStyleUtils-computedStyle"><ahref="#dom-getstyleutils-computedstyle">computedStyle</a></code> and
2806
+
<codetitle="dom-GetStyleUtils-usedStyle"><ahref="#dom-getstyleutils-usedstyle">usedStyle</a></code> methods expose information from <ahref="#css-style-sheet" title="CSS style sheet">CSS style sheets</a> with the
<li><p>Create a new <span>CSS style sheet</span> object and set its
934
934
properties as specified.</p></li>
935
935
936
-
<li><p>Then run the <span>add a CSS style sheet</span> steps for the newly
937
-
created <span>CSS style sheet</span>.</p></li>
936
+
<li>
937
+
<p>Then run the <span>add a CSS style sheet</span> steps for the newly created <span>CSS style sheet</span>.
938
+
939
+
<pclass=warning>If the <spantitle=concept-css-style-sheet-origin-clean-flag>origin-clean flag</span> is unset, this can expose information from the user's
940
+
intranet.
938
941
</ol>
939
942
940
943
<p>To <dfn>add a CSS style sheet</dfn>, run these
@@ -2674,7 +2677,8 @@ <h3>Extensions to the <code title>Window</code> Interface</h3>
2674
2677
<pclass='note'>Because of historical IDL limitations the <codetitle=dom-Window-getComputedStyle>getComputedStyle()</code> method used to be on
2675
2678
a separate interface, <codetitle>ViewCSS</code>.</p>
2676
2679
2677
-
2680
+
<pclass=warning>The <codetitle=dom-Window-getComputedStyle>getComputedStyle()</code> method exposes information from <spantitle="CSS style sheet">CSS style
2681
+
sheets</span> with the <spantitle=concept-css-style-sheet-origin-clean-flag>origin-clean flag</span> unset.
computed for the <spandata-anolis-spec=dom>context object</span> using the style rules associated
2720
2724
with the <spandata-anolis-spec=dom>context object</span>'s <span>associated document</span>.</p>
2721
2725
2726
+
<pclass=warning>The <codetitle=dom-GetStyleUtils-specifiedStyle>specifiedStyle</code>, <codetitle=dom-GetStyleUtils-computedStyle>computedStyle</code> and
2727
+
<codetitle=dom-GetStyleUtils-usedStyle>usedStyle</code> methods expose information from <spantitle="CSS style sheet">CSS style sheets</span> with the
0 commit comments