@@ -74001,12 +74001,13 @@ dictionary <dfn dictionary>ElementDefinitionOptions</dfn> {
7400174001
7400274002 <li><p>If <span>this</span>'s <span>is scoped</span> is true, then for each <var>document</var>
7400374003 of <span>this</span>'s <span>scoped document set</span>: <span>upgrade particular elements within
74004- a document</span> given <var>document</var> and <var>localName</var>.</p></li>
74004+ a document</span> given <var>document</var>, <var>definition</var>, and
74005+ <var>localName</var>.</p></li>
7400574006
7400674007 <li><p>Otherwise, <span>upgrade particular elements within a document</span> given
7400774008 <span>this</span>'s <span>relevant global object</span>'s <span
74008- data-x="concept-document-window">associated <code>Document</code></span>, <var>localName </var>,
74009- and <var>name</var>.</p></li>
74009+ data-x="concept-document-window">associated <code>Document</code></span>, <var>definition </var>,
74010+ <var>localName</var>, and <var>name</var>.</p></li>
7401074011
7401174012 <li>
7401274013 <p>If <span>this</span>'s <span>when-defined promise map</span>[<var>name</var>] <span data-x="map
@@ -74023,8 +74024,9 @@ dictionary <dfn dictionary>ElementDefinitionOptions</dfn> {
7402374024 </ol>
7402474025
7402574026 <p>To <dfn>upgrade particular elements within a document</dfn> given a <code>Document</code>
74026- object <var>document</var>, a string <var>localName</var>, and optionally a string <var>name</var>
74027- (default <var>localName</var>):</p>
74027+ object <var>document</var>, a <span>custom element definition</span> <var>definition</var>, a
74028+ string <var>localName</var>, and optionally a string <var>name</var> (default
74029+ <var>localName</var>):</p>
7402874030
7402974031 <ol>
7403074032 <li><p>Let <var>upgradeCandidates</var> be all elements that are <span data-x="shadow-including
0 commit comments