Skip to content

Commit

Permalink
Upstream changes from Trusted Types
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarlow committed Mar 25, 2024
1 parent e0fc88b commit 34219e3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/execCommand/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,17 @@ <h3 id="enabled-commands">
<h2 id="methods-to-query-and-execute-commands">
Methods to query and execute commands
</h2>

<pre class="idl">
partial interface Document {
[CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional (DOMString or TrustedHTML) value = "");
};
</pre>

<p class="note">
TODO: Add IDL for queryCommand* functions.
</p>

<p class="note">
TODO: Define behavior for <var title="">show UI</var>.
</p>
Expand Down Expand Up @@ -15208,6 +15219,17 @@ <h3>
</p>
</section>
</section>
<section>
<h2 id="dependencies">
Dependencies
</h2>

The Trusted Types [[TRUSTED-TYPES]] specification defines:

<ul>
<li>The <dfn data-lt="TrustedHTML"><a href="https://w3c.github.io/trusted-types/dist/spec/#trustedhtml">TrustedHTML</a></dfn> IDL <a>interface</a>
</ul>
</section>
<section>
<h2 id="additional-requirements">
Additional requirements
Expand Down

0 comments on commit 34219e3

Please sign in to comment.