Skip to content

Remove support ElementInternals reflection flag #11517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -8036,17 +8036,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
means that the IDL attribute getter returns the current value of the content attribute, and the
setter changes the value of the content attribute to the given value.</p>

<p>If the <span>reflected target</span> is an element, then the <span>reflected IDL
attribute</span> can additionally declare to <dfn>support <code>ElementInternals</code></dfn>.
This means that the <code>ElementInternals</code> interface also has a <span>reflected IDL
attribute</span>, with the same identifier, and that <span>reflected IDL attribute</span> <span
data-x="reflect">reflects</span> the same <span>reflected content attribute name</span>.</p>

<p class="example" id="example-reflect-incantation">The <code data-x=""><var>fooBar</var></code>
IDL attribute <!--non-normative-->must <span>reflect</span> the <code
data-x=""><var>foobar</var></code> content attribute and <span>support
<code>ElementInternals</code></span>.</p>

<div w-nodev>

<p><span data-x="reflected target">Reflected targets</span> have these associated algorithms:
Expand Down Expand Up @@ -8511,8 +8500,8 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<p>If a <span>reflected IDL attribute</span> has the type <code>DOMTokenList</code>, then its
getter steps are to return a <code>DOMTokenList</code> object whose associated element is
<span>this</span> and associated attribute's local name is the <span>reflected content
attribute name</span>. Specification authors cannot use <span>support
<code>ElementInternals</code></span> for IDL attributes of this type.</p>
attribute name</span>. Specification authors cannot reflect IDL attributes of this type on
<code>ElementInternals</code>.</p>
<!-- Supporting ElementInternals is doable in theory, but would require corresponding changes to
DOMTokenList. -->

Expand Down