Skip to content

Commit 06ffaee

Browse files
author
Simon Pieters
committed
[cssom] Define what kind of array styleSheetSets returns. https://www.w3.org/Bugs/Public/show_bug.cgi?id=16111
1 parent 92b2330 commit 06ffaee

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

cssom/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1187,7 +1187,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
11871187
<dt class="attribute" id="widl-Document-styleSheetSets">
11881188
<dfn id="widl-Document-styleSheetSets"><code>styleSheetSets</code></dfn> of type <span class="idlAttrType"><a>DOMString</a>[]</span>, readonly</dt>
11891189
<dd>
1190-
<p>The <code><a href="#widl-Document-styleSheetSets">styleSheetSets</a></code> attribute must return a list of the <a href="#style-sheet-set-name" title="style sheet set name">style sheet set names</a> of the <a href="#style-sheet-set" title="style sheet set">style sheet sets</a>, in order of the <a href="#document-style-sheets">document style sheets</a>.</dd>
1190+
<p>The <code><a href="#widl-Document-styleSheetSets">styleSheetSets</a></code> attribute must return a read only array of the <a href="#style-sheet-set-name" title="style sheet set name">style sheet set names</a> of the <a href="#style-sheet-set" title="style sheet set">style sheet sets</a>, in order of the <a href="#document-style-sheets">document style sheets</a>.</dd>
11911191
</dl>
11921192
<dl class="methods">
11931193
<dt class="method" id="widl-Document-enableStyleSheetsForSet-void-DOMString-name">

cssom/idl/Document.idl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ partial interface Document {
115115
readonly attribute DOMString? preferredStyleSheetSet; // new
116116

117117
[Documentation=
118-
"<p>The {@name} {@type} must return a list of the <span title='style sheet set name'>style\
119-
sheet set names</span> of the <span title='style sheet set'>style sheet sets</span>, in order\
120-
of the <span>document style sheets</span>.</p>"
118+
"<p>The {@name} {@type} must return a read only array of the\
119+
<span title='style sheet set name'>style sheet set names</span> of the\
120+
<span title='style sheet set'>style sheet sets</span>, in order of the <span>document\
121+
style sheets</span>.</p>"
121122
]
122123
readonly attribute DOMString[] styleSheetSets; // new
123124

0 commit comments

Comments
 (0)