Skip to content

Commit

Permalink
Ci help
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Dec 17, 2024
1 parent db33224 commit a5a8c4c
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3203,7 +3203,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://dom.spec.whatwg.org/#concept-node-document">node document</dfn> concept</li>
<li><dfn data-x="concept-document-type" data-x-href="https://dom.spec.whatwg.org/#concept-document-type">document type</dfn> concept</li>
<li><dfn data-x="concept-DocumentFragment-host" data-x-href="https://dom.spec.whatwg.org/#concept-documentfragment-host">host</dfn> concept</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-root">shadow root</dfn> concept, and its <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-delegates-focus">delegates focus</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-available-to-element-internals">available to element internals</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-clonable">clonable</dfn>, and <dfn data-x="shadow-serializable" data-x-href="https://dom.spec.whatwg.org/#shadowroot-serializable">serializable</dfn>.</li>
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#concept-shadow-root">shadow root</dfn> concept, and its <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-delegates-focus">delegates focus</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-available-to-element-internals">available to element internals</dfn>, <dfn data-x-href="https://dom.spec.whatwg.org/#shadowroot-clonable">clonable</dfn>, <dfn data-x="shadow-serializable" data-x-href="https://dom.spec.whatwg.org/#shadowroot-serializable">serializable</dfn>, and <dfn data-x="shadow-root-custom-element-registry" data-x-href="https://whatpr.org/dom/1341.html#shadowroot-custom-element-registry">custom element registry</dfn>.</li>
<!-- XXX xref -->
<li>The <dfn data-x-href="https://dom.spec.whatwg.org/#element-shadow-host">shadow host</dfn> concept</li>
<li><dfn data-x-href="https://dom.spec.whatwg.org/#interface-htmlcollection"><code>HTMLCollection</code></dfn> interface, its
<dfn data-x="dom-HTMLCollection-length" data-x-href="https://dom.spec.whatwg.org/#dom-htmlcollection-length"><code>length</code></dfn> attribute, and its
Expand Down Expand Up @@ -3342,6 +3343,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li>An element's <dfn data-x="concept-element-namespace" data-x-href="https://dom.spec.whatwg.org/#concept-element-namespace">namespace</dfn>,
<dfn data-x="concept-element-namespace-prefix" data-x-href="https://dom.spec.whatwg.org/#concept-element-namespace-prefix">namespace prefix</dfn>,
<dfn data-x="concept-element-local-name" data-x-href="https://dom.spec.whatwg.org/#concept-element-local-name">local name</dfn>,
<dfn data-x="element-custom-element-registry" data-x-href="https://whatpr.org/dom/1341.html#concept-element-custom-element-registry">custom element registry</dfn>,
<!-- XXX xref -->
<dfn data-x="concept-element-custom-element-definition" data-x-href="https://dom.spec.whatwg.org/#concept-element-custom-element-definition">custom element definition</dfn>, and
<dfn data-x="concept-element-is-value" data-x-href="https://dom.spec.whatwg.org/#concept-element-is-value"><code data-x="">is</code> value</dfn></li>

Expand Down Expand Up @@ -72773,13 +72776,14 @@ dictionary <dfn dictionary>ElementDefinitionOptions</dfn> {
<dd>Defines a new <span>custom element</span>, mapping the given name to the given constructor
as an <span>autonomous custom element</span>.</dd>

<dt><code data-x=""><var>registry</var>.<span subdfn data-x="dom-CustomElementRegistry-define">define</span>(<var>name</var>, <var>constructor</var>,
<dt><code data-x=""><var>registry</var>.<span data-x="dom-CustomElementRegistry-define">define</span>(<var>name</var>, <var>constructor</var>,
{ extends: <var>baseLocalName</var> })</code></dt>
<dd>Defines a new <span>custom element</span>, mapping the given name to the given constructor as
a <span>customized built-in element</span> for the <span>element type</span> identified by the
supplied <var>baseLocalName</var>. A <span>"<code>NotSupportedError</code>"</span>
<code>DOMException</code> will be thrown upon trying to extend a <span>custom element</span> or
an unknown element.</dd>
an unknown element, or when <var>registry</var> is not a global
<code>CustomElementRegistry</code> object.</dd>

<dt><code data-x=""><var>registry</var>.<span subdfn data-x="dom-CustomElementRegistry-get">get</span>(<var>name</var>)</code></dt>
<dd>Retrieves the <span>custom element constructor</span> defined for the given <span data-x="concept-custom-element-definition-name">name</span>. Returns undefined if there is no
Expand All @@ -72803,8 +72807,8 @@ dictionary <dfn dictionary>ElementDefinitionOptions</dfn> {

<dt><code data-x=""><var>registry</var>.<span subdfn data-x="dom-CustomElementRegistry-createElement">createElement</span>(<var>name</var>)</code></dt>
<dd>
<p>Returns an <span>HTML element</span> with <var>name</var> as its local name and
<var>registry</var> as its registry.</p>
<p>Returns an <span data-x="HTML elements">HTML element</span> with <var>name</var> as its local
name and <var>registry</var> as its registry.</p>

<p>If <var>name</var> does not match the <code data-x="xml-Name">Name</code> production an
<span>"<code>InvalidCharacterError</code>"</span> <code>DOMException</code> will be thrown.</p>
Expand Down

0 comments on commit a5a8c4c

Please sign in to comment.