LibWeb/HTML: Select html input elements with selectable text

only select input elements that select applies to and has a
selectable text.
This commit is contained in:
Mohamed amine Bounya 2024-09-18 15:34:40 +01:00 committed by Andreas Kling
parent d77843e2f0
commit 6fe43e9f73
Notes: github-actions[bot] 2024-09-22 04:44:47 +00:00
3 changed files with 25 additions and 2 deletions

View file

@ -204,6 +204,7 @@ public:
bool step_up_or_down_applies() const;
bool select_applies() const;
bool selection_or_range_applies() const;
bool has_selectable_text() const;
static bool selection_or_range_applies_for_type_state(TypeAttributeState);