Skip to content

Commit 9f30276

Browse files
Rebase
1 parent 2d5b9b9 commit 9f30276

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

index.bs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -352,13 +352,6 @@ is a [=model context=] [=struct=] created alongside the {{ModelContext}}.
352352
</dd>
353353
</dl>
354354

355-
<dl dfn-type=attribute dfn-for=ModelContext>
356-
: <dfn>ontoolactivated</dfn>
357-
:: An [=event handler IDL attribute=] for the {{ModelContext/toolactivated}} event type.
358-
: <dfn>ontoolcancel</dfn>
359-
:: An [=event handler IDL attribute=] for the {{ModelContext/toolcancel}} event type.
360-
</dl>
361-
362355

363356
<div algorithm>
364357
The <dfn method for=ModelContext>registerTool(<var>tool</var>, <var>options</var>)</dfn> method steps are:
@@ -600,7 +593,7 @@ The <dfn method for=ModelContextClient>requestUserInteraction(<var ignore>callba
600593

601594
<h4 id="tool-activated-event">ToolActivatedEvent Interface</h4>
602595

603-
The {{ToolActivatedEvent}} interface represents a <dfn event for=ModelContext>toolactivated</dfn> event that is dispatched at {{Navigator/modelContext}} when a tool is invoked by an [=agent=].
596+
The {{ToolActivatedEvent}} interface represents a {{ModelContext/toolactivated}} event that is dispatched at {{ModelContext}} when a tool is invoked by an [=agent=].
604597

605598
<xmp class="idl">
606599
[Exposed=Window, SecureContext]
@@ -625,7 +618,7 @@ dictionary ToolActivatedEventInit : EventInit {
625618

626619
<h4 id="tool-cancel-event">ToolCancelEvent Interface</h4>
627620

628-
The {{ToolCancelEvent}} interface represents a <dfn event for=ModelContext>toolcancel</dfn> event that is dispatched at {{Navigator/modelContext}} when a tool's invocation is canceled by an [=agent=].
621+
The {{ToolCancelEvent}} interface represents a {{ModelContext/toolcancel}} event that is dispatched at {{ModelContext}} when a tool's invocation is canceled by an [=agent=].
629622

630623
<xmp class="idl">
631624
[Exposed=Window, SecureContext]
@@ -690,6 +683,12 @@ that must be supported, as [=event handler IDL attributes=], by all {{ModelConte
690683
<tr>
691684
<td><dfn attribute for="ModelContext">ontoolchange</dfn>
692685
<td><dfn event for="ModelContext">toolchange</dfn>
686+
<tr>
687+
<td><dfn attribute for="ModelContext">ontoolactivated</dfn>
688+
<td><dfn event for="ModelContext">toolactivated</dfn>
689+
<tr>
690+
<td><dfn attribute for="ModelContext">ontoolcancel</dfn>
691+
<td><dfn event for="ModelContext">toolcancel</dfn>
693692
</table>
694693

695694
<h3 id="permissions-policy">Permissions policy integration</h3>

0 commit comments

Comments
 (0)