LibWeb: Correct some spec typos
Some checks are pending
CI / Lagom (arm64, Sanitizer_CI, false, macos-15, macOS, Clang) (push) Waiting to run
CI / Lagom (x86_64, Fuzzers_CI, false, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, false, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (x86_64, Sanitizer_CI, true, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (arm64, macos-15, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (x86_64, ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

Corresponds to 285a58bf30
This commit is contained in:
Sam Atkins 2025-04-09 12:45:18 +01:00 committed by Alexander Kalenik
commit 9dbeecb73d
Notes: github-actions[bot] 2025-04-10 09:18:08 +00:00
11 changed files with 23 additions and 22 deletions

View file

@ -568,8 +568,8 @@ GC::Ref<HTML::DragEvent> DragAndDropEventHandler::fire_a_drag_and_drop_event(
if (!name.is_one_of(HTML::EventNames::dragleave, HTML::EventNames::dragend))
event_init.cancelable = true;
// 11. Initialize event's mouse and key attributes initialized according to the state of the input devices as they
// would be for user interaction events.
// 11. Initialize event's mouse and key attributes according to the state of the input devices as they would be for
// user interaction events.
event_init.ctrl_key = (modifiers & UIEvents::Mod_Ctrl) != 0;
event_init.shift_key = (modifiers & UIEvents::Mod_Shift) != 0;
event_init.alt_key = (modifiers & UIEvents::Mod_Alt) != 0;