mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb: Follow spec steps to set the selectionDirection attribute value
This commit is contained in:
committed by
Andreas Kling
parent
e0cd2edccb
commit
d0b97873d4
Notes:
github-actions[bot]
2024-10-04 17:43:25 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/d0b97873d42 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1625
@@ -204,10 +204,13 @@ public:
|
||||
bool step_up_or_down_applies() const;
|
||||
bool select_applies() const;
|
||||
bool selection_or_range_applies() const;
|
||||
bool selection_direction_applies() const;
|
||||
bool has_selectable_text() const;
|
||||
|
||||
static bool selection_or_range_applies_for_type_state(TypeAttributeState);
|
||||
|
||||
Optional<String> selection_direction_binding() { return selection_direction(); }
|
||||
|
||||
protected:
|
||||
void selection_was_changed(size_t selection_start, size_t selection_end) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user