Skip to content

Commit 558f9d3

Browse files
author
Simon Pieters
committed
[cssom] Make document.styleSheetSets live and always return the same array. https://www.w3.org/Bugs/Public/show_bug.cgi?id=19904
1 parent 1cbd7b9 commit 558f9d3

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

cssom/Overview.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,9 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
13031303
this attribute is initially the empty string.</p>
13041304

13051305
<p>The <dfn id="dom-document-stylesheetsets" title="dom-Document-styleSheetSets"><code>styleSheetSets</code></dfn> attribute must return a read only array of the
1306-
<a href="#css-style-sheet-set-name" title="CSS style sheet set name">CSS style sheet set names</a> of the
1307-
<a href="#css-style-sheet-set" title="CSS style sheet set">CSS style sheet sets</a>, in order of the <a href="#document-css-style-sheets">document CSS style sheets</a>.</p>
1306+
<a href="#css-style-sheet-set-name" title="CSS style sheet set name">CSS style sheet set names</a> of the <a href="#css-style-sheet-set" title="CSS style sheet set">CSS style sheet sets</a>, in order of the
1307+
<a href="#document-css-style-sheets">document CSS style sheets</a>. The array is live; if the <a href="#document-css-style-sheets">document CSS style sheets</a> change, the array must be updated as appropriate. The
1308+
same array must be returned every time.</p>
13081309

13091310
<p>The <dfn id="dom-document-enablestylesheetsforset" title="dom-Document-enableStyleSheetsForSet"><code>enableStyleSheetsForSet(<var>name</var>)</code></dfn> method must, when invoked, run these
13101311
steps:</p>

cssom/Overview.src.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,9 @@ <h4>Extensions to the <code title>Document</code> Interface</h4>
12251225
this attribute is initially the empty string.</p>
12261226

12271227
<p>The <dfn title=dom-Document-styleSheetSets><code>styleSheetSets</code></dfn> attribute must return a read only array of the
1228-
<span title='CSS style sheet set name'>CSS style sheet set names</span> of the
1229-
<span title='CSS style sheet set'>CSS style sheet sets</span>, in order of the <span>document CSS style sheets</span>.</p>
1228+
<span title='CSS style sheet set name'>CSS style sheet set names</span> of the <span title='CSS style sheet set'>CSS style sheet sets</span>, in order of the
1229+
<span>document CSS style sheets</span>. The array is live; if the <span>document CSS style sheets</span> change, the array must be updated as appropriate. The
1230+
same array must be returned every time.</p>
12301231

12311232
<p>The <dfn title=dom-Document-enableStyleSheetsForSet><code>enableStyleSheetsForSet(<var>name</var>)</code></dfn> method must, when invoked, run these
12321233
steps:</p>

0 commit comments

Comments
 (0)