Skip to content

Commit 34219e3

Browse files
committed
1 parent e0fc88b commit 34219e3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/execCommand/index.html

+22
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,17 @@ <h3 id="enabled-commands">
608608
<h2 id="methods-to-query-and-execute-commands">
609609
Methods to query and execute commands
610610
</h2>
611+
612+
<pre class="idl">
613+
partial interface Document {
614+
[CEReactions] boolean execCommand(DOMString commandId, optional boolean showUI = false, optional (DOMString or TrustedHTML) value = "");
615+
};
616+
</pre>
617+
618+
<p class="note">
619+
TODO: Add IDL for queryCommand* functions.
620+
</p>
621+
611622
<p class="note">
612623
TODO: Define behavior for <var title="">show UI</var>.
613624
</p>
@@ -15208,6 +15219,17 @@ <h3>
1520815219
</p>
1520915220
</section>
1521015221
</section>
15222+
<section>
15223+
<h2 id="dependencies">
15224+
Dependencies
15225+
</h2>
15226+
15227+
The Trusted Types [[TRUSTED-TYPES]] specification defines:
15228+
15229+
<ul>
15230+
<li>The <dfn data-lt="TrustedHTML"><a href="https://w3c.github.io/trusted-types/dist/spec/#trustedhtml">TrustedHTML</a></dfn> IDL <a>interface</a>
15231+
</ul>
15232+
</section>
1521115233
<section>
1521215234
<h2 id="additional-requirements">
1521315235
Additional requirements

0 commit comments

Comments
 (0)