Skip to content

Commit ccf760e

Browse files
author
Simon Pieters
committed
[cssom] Use DOMString[] instead of DOMStringList
1 parent 883ddba commit ccf760e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cssom/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
11641164
<span class="idlAttribute"> attribute <span class="idlAttrType"><a>DOMString</a>?</span> <span class="idlAttrName"><a href="#widl-Document-selectedStyleSheetSet">selectedStyleSheetSet</a></span>;</span>
11651165
<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>DOMString</a>?</span> <span class="idlAttrName"><a href="#widl-Document-lastStyleSheetSet">lastStyleSheetSet</a></span>;</span>
11661166
<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>DOMString</a>?</span> <span class="idlAttrName"><a href="#widl-Document-preferredStyleSheetSet">preferredStyleSheetSet</a></span>;</span>
1167-
<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>DOMStringList</a></span> <span class="idlAttrName"><a href="#widl-Document-styleSheetSets">styleSheetSets</a></span>;</span>
1167+
<span class="idlAttribute"> readonly attribute <span class="idlAttrType"><a>DOMString</a></span> <span class="idlAttrName"><a href="#widl-Document-styleSheetSets">styleSheetSets</a></span>;</span>
11681168
<span class="idlMethod"> <span class="idlMethType"><a>void</a></span> <span class="idlMethName"><a href="#widl-Document-enableStyleSheetsForSet-void-DOMString-name">enableStyleSheetsForSet</a></span> (<span class="idlParam"><span class="idlParamType"><a>DOMString</a>?</span> <span class="idlParamName">name</span></span>);</span>
11691169
};</span></pre>
11701170
<dl class="attributes">
@@ -1185,7 +1185,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">6.2.3 </span>E
11851185
<dd>
11861186
<p>The <code>preferredStyleSheetSet</code> attribute must return the <a href="#preferred-style-sheet-set-name">preferred style sheet set name</a>.</p> <p class="note">Unlike <code title="dom-Document-lastStyleSheetSet">lastStyleSheetSet</code>, this attribute is initially the empty string.</dd>
11871187
<dt class="attribute" id="widl-Document-styleSheetSets">
1188-
<code>styleSheetSets</code> of type <span class="idlAttrType"><a>DOMStringList</a></span>, readonly</dt>
1188+
<code>styleSheetSets</code> of type <span class="idlAttrType"><a>DOMString</a></span>, readonly</dt>
11891189
<dd>
11901190
<p>The <code>styleSheetSets</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>
11911191
</dl>

cssom/idl/Document.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ partial interface Document {
119119
sheet set names</span> of the <span title='style sheet set'>style sheet sets</span>, in order\
120120
of the <span>document style sheets</span>.</p>"
121121
]
122-
readonly attribute DOMStringList styleSheetSets; // new
122+
readonly attribute DOMString[] styleSheetSets; // new
123123

124124
[Documentation=
125125
"<p>The {@name} {@type} must, when invoked, run these steps:</p>\

0 commit comments

Comments
 (0)