Skip to content

Commit

Permalink
Repoint contextmenu definition to UIEVENTS spec
Browse files Browse the repository at this point in the history
The reference to the `contextmenu` event in 4.2.12 links to the HTML
spec, even though any non-editorial mentions of that event –but not the
definition in the event list– were removed (apparently by mistake) in
whatwg/html#2742. That event was subsequently added to the UI Events
spec in w3c/uievents#279, and now the definition in the HTML spec's
event list has been removed in whatwg/html#7506. This change updates
the reference to link to the UI Events spec.
  • Loading branch information
andreubotella authored Jan 19, 2022
1 parent ac55a60 commit c058225
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,9 @@ <h3>The <dfn data-lt="lostpointercapture"><code>lostpointercapture</code> event<
</section>
<section>
<h3>The <dfn><code>click</code>, <code>auxclick</code>, and <code>contextmenu</code> events</dfn></h3>
<p>This section is an addition to <a data-cite="uievents/#event-type-click">click</a> and
<a data-cite="uievents/#event-type-auxclick">auxclick</a> events defined in [[UIEVENTS]] and
[=HTMLElement/contextmenu=] defined in [[HTML]]. The type of these events MUST be <code>PointerEvent</code>,
<p>This section is an addition to <a data-cite="uievents/#event-type-click">click</a>,
<a data-cite="uievents/#event-type-auxclick">auxclick</a> and <a data-cite="uievents/#event-type-contextmenu">contextmenu</a>
events defined in [[UIEVENTS]]. The type of these events MUST be <code>PointerEvent</code>,
but the dispatch process is going to match that of the original specification.</p>
For these events, all <code>PointerEvent</code> specific attributes (defined in this spec) other than <code>pointerId</code> and <code>pointerType</code> will have their default values. In addition:</p>
<ul>
Expand Down

0 comments on commit c058225

Please sign in to comment.