Skip to content
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: 14 additions & 1 deletion dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1746,6 +1746,8 @@ optionally using an <var>eventConstructor</var>, with a description of how IDL a
initialized, and a <var>legacy target override flag</var>, run these steps:

<ol>
<li><p>Let <var>recordingTimingAsTask</var> be the result of calling <a>start recording task time if
needed</a> given <var>target</var>'s <a>relevant settings object</a>.
<li><p>If <var>eventConstructor</var> is not given, then let <var>eventConstructor</var> be
{{Event}}.

Expand All @@ -1760,8 +1762,19 @@ initialized, and a <var>legacy target override flag</var>, run these steps:

<p class=note>This also allows for the {{Event/isTrusted}} attribute to be set to false.

<li><p>Return the result of <a>dispatching</a> <var>event</var> at <var>target</var>, with
<li><p>Let <var>result</var> be the result of <a>dispatching</a> <var>event</var> at <var>target</var>, with
<var>legacy target override flag</var> set if set.

<li><p>If <var>recordingTimingAsTask</var> is true, then:

<ol>
<li><p>Assert</a>: <var>target</var>'s <a>relevant settings object</a> is a {{Document}}.

<li><p><a>Record task end time</a> given the <a>unsafe shared current time</a> and <var>target</var>'s
<a>relevant settings object</a>.
</ol>

<li><p>Return <var>result</var>.
</ol>
</div>

Expand Down
Loading