Skip to content

Commit

Permalink
Update for Web IDL extended attribute changes
Browse files Browse the repository at this point in the history
[TreatNullAs=EmptyString] → [LegacyNullToEmptyString], following whatwg/webidl#870.
  • Loading branch information
domenic committed Apr 8, 2020
1 parent 10b6b91 commit 8098fac
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ <h2>Extensibility</h2>

<pre class="idl">
interface mixin InnerHTML {
[CEReactions] attribute [TreatNullAs=EmptyString] DOMString innerHTML;
[CEReactions] attribute [LegacyNullToEmptyString] DOMString innerHTML;
};

Element includes InnerHTML;
Expand Down Expand Up @@ -305,7 +305,7 @@ <h2>Extensibility</h2>

<pre class="idl">
partial interface Element {
[CEReactions] attribute [TreatNullAs=EmptyString] DOMString outerHTML;
[CEReactions] attribute [LegacyNullToEmptyString] DOMString outerHTML;
[CEReactions] void insertAdjacentHTML(DOMString position, DOMString text);
};
</pre>
Expand Down Expand Up @@ -1759,6 +1759,12 @@ <h2>Dependencies</h2>
<ul>
<li>The <dfn><a href="https://tc39.github.io/ecma262/#sec-error-objects">TypeError</a></dfn> exception
</ul>

The Web IDL [[WebIDL]] specification defines:

<ul>
<li>The <dfn data-lt="LegacyNullToEmptyString"><a href="https://heycam.github.io/webidl/#LegacyNullToEmptyString">[LegacyNullToEmptyString]</a></dfn> IDL <a>extended attribute</a>
</ul>
</section>

<section class=appendix>
Expand Down

0 comments on commit 8098fac

Please sign in to comment.