Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misspelling of nativeKey #387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions event-algo.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1364,11 +1364,11 @@ And the following internal state:
:: None

1. Update global modifier key state
1. If |nativKey| is left or right Shift key, then add "Shift" to <a>key modifier state</a>
1. If |nativKey| is left or right Control key, then add "Control" to <a>key modifier state</a>
1. If |nativKey| is left or right Alt key, then add "Alt" to <a>key modifier state</a>
1. If |nativKey| is AltGraph key, then add "AltGraph" to <a>key modifier state</a>
1. If |nativKey| is left or right Meta key, then add "Meta" to <a>key modifier state</a>
1. If |nativeKey| is left or right Shift key, then add "Shift" to <a>key modifier state</a>
1. If |nativeKey| is left or right Control key, then add "Control" to <a>key modifier state</a>
1. If |nativeKey| is left or right Alt key, then add "Alt" to <a>key modifier state</a>
1. If |nativeKey| is AltGraph key, then add "AltGraph" to <a>key modifier state</a>
1. If |nativeKey| is left or right Meta key, then add "Meta" to <a>key modifier state</a>

1. If <a>handle pre browser key</a> with |nativeKey|, then

Expand Down
10 changes: 5 additions & 5 deletions event-algo.html
Original file line number Diff line number Diff line change
Expand Up @@ -3730,15 +3730,15 @@ <h3 class="heading settled" data-level="10.11" id="handle native key down"><span
<li data-md>
<p>Update global modifier key state</p>
<li data-md>
<p>If <var>nativKey</var> is left or right Shift key, then add "Shift" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑦">key modifier state</a></p>
<p>If <var>nativeKey</var> is left or right Shift key, then add "Shift" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑦">key modifier state</a></p>
<li data-md>
<p>If <var>nativKey</var> is left or right Control key, then add "Control" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑧">key modifier state</a></p>
<p>If <var>nativeKey</var> is left or right Control key, then add "Control" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑧">key modifier state</a></p>
<li data-md>
<p>If <var>nativKey</var> is left or right Alt key, then add "Alt" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑨">key modifier state</a></p>
<p>If <var>nativeKey</var> is left or right Alt key, then add "Alt" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state⑨">key modifier state</a></p>
<li data-md>
<p>If <var>nativKey</var> is AltGraph key, then add "AltGraph" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state①⓪">key modifier state</a></p>
<p>If <var>nativeKey</var> is AltGraph key, then add "AltGraph" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state①⓪">key modifier state</a></p>
<li data-md>
<p>If <var>nativKey</var> is left or right Meta key, then add "Meta" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state①①">key modifier state</a></p>
<p>If <var>nativeKey</var> is left or right Meta key, then add "Meta" to <a data-link-type="dfn" href="#key-modifier-state" id="ref-for-key-modifier-state①①">key modifier state</a></p>
<li data-md>
<p>If <a data-link-type="dfn" href="#handle-pre-browser-key" id="ref-for-handle-pre-browser-key">handle pre browser key</a> with <var>nativeKey</var>, then</p>
<p class="note" role="note"><span class="marker">Note:</span> Chrome/Firefox handle some BrowserKeys before generating keydown events.
Expand Down