mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Fix selectionchange typo
This was a typo in the spec itself, which has since been fixed.
This commit is contained in:
committed by
Tim Ledbetter
parent
3dbaae5cfc
commit
7356093af3
@@ -19,7 +19,7 @@ concept SelectionChangeTarget = DerivedFrom<T, EventTarget> && requires(T t) {
|
|||||||
{ t.set_scheduled_selectionchange_event(bool()) } -> SameAs<void>;
|
{ 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>
|
template<SelectionChangeTarget T>
|
||||||
void schedule_a_selectionchange_event(T& target, Document& document)
|
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>
|
template<SelectionChangeTarget T>
|
||||||
void fire_a_selectionchange_event(T& target, Document& document)
|
void fire_a_selectionchange_event(T& target, Document& document)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user