mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
LibWeb: Follow spec steps to set the selectionDirection attribute value
(cherry picked from commit d0b97873d421d092eb41e3b7a7d8959347b3b436)
This commit is contained in:
committed by
Nico Weber
parent
48ce92598d
commit
05e8835555
@@ -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