Skip to content

Commit

Permalink
Fix key event used for close requests
Browse files Browse the repository at this point in the history
Esc keydown has always been what triggered close request behavior. This was just a mistake in writing the spec.
  • Loading branch information
domenic authored and annevk committed Mar 7, 2024
1 parent 98282d5 commit d785cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -81760,7 +81760,7 @@ body { display:none }
is <span>implementation-defined</span>, except that if <code
data-x="event-keydown">keydown</code> and <code data-x="event-keyup">keyup</code> events were
fired for the <kbd>Esc</kbd> key, the user agent must pick the <code
data-x="event-keyup">keyup</code> event.</p></li>
data-x="event-keydown">keydown</code> event.</p></li>

<li><p>If <var>event</var> is not null, and its <span>canceled flag</span> is set, then
return.</p></li>
Expand Down

0 comments on commit d785cbe

Please sign in to comment.