mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
LibWeb: Fix selectionchange
typo
This was a typo in the spec itself, which has since been fixed.
This commit is contained in:
parent
3dbaae5cfc
commit
7356093af3
Notes:
github-actions[bot]
2025-01-06 08:56:04 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7356093af3c Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3155 Reviewed-by: https://github.com/gmta ✅
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ concept SelectionChangeTarget = DerivedFrom<T, EventTarget> && requires(T t) {
|
|||
{ t.set_scheduled_selectionchange_event(bool()) } -> SameAs<void>;
|
||||
};
|
||||
|
||||
// https://w3c.github.io/selection-api/#scheduling-selectionhange-event
|
||||
// https://w3c.github.io/selection-api/#scheduling-selectionchange-event
|
||||
template<SelectionChangeTarget T>
|
||||
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<SelectionChangeTarget T>
|
||||
void fire_a_selectionchange_event(T& target, Document& document)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue