From 7356093af3ce2a0bcf2b9c021970ba2e29aea70e Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Mon, 6 Jan 2025 08:24:49 +0000 Subject: [PATCH] LibWeb: Fix `selectionchange` typo This was a typo in the spec itself, which has since been fixed. --- Libraries/LibWeb/DOM/SelectionchangeEventDispatching.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/LibWeb/DOM/SelectionchangeEventDispatching.h b/Libraries/LibWeb/DOM/SelectionchangeEventDispatching.h index 1657f605ec5..21feb9d8319 100644 --- a/Libraries/LibWeb/DOM/SelectionchangeEventDispatching.h +++ b/Libraries/LibWeb/DOM/SelectionchangeEventDispatching.h @@ -19,7 +19,7 @@ concept SelectionChangeTarget = DerivedFrom && requires(T t) { { t.set_scheduled_selectionchange_event(bool()) } -> SameAs; }; -// https://w3c.github.io/selection-api/#scheduling-selectionhange-event +// https://w3c.github.io/selection-api/#scheduling-selectionchange-event template void schedule_a_selectionchange_event(T& target, Document& document) { @@ -38,7 +38,7 @@ void schedule_a_selectionchange_event(T& target, Document& document) })); } -// https://w3c.github.io/selection-api/#firing-selectionhange-event +// https://w3c.github.io/selection-api/#firing-selectionchange-event template void fire_a_selectionchange_event(T& target, Document& document) {