mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Don't place cursor on certain <input> elements
For example, button inputs shouldn't have a cursor displayed in their text since they're not editable, and are not meant to be editable. Fixes #4140 Co-authored-by: Sam Atkins <sam@ladybird.org>
This commit is contained in:
committed by
Sam Atkins
parent
17f14a277b
commit
c52c05555b
Notes:
github-actions[bot]
2025-06-02 10:39:46 +00:00
Author: https://github.com/gotlougit Commit: https://github.com/LadybirdBrowser/ladybird/commit/c52c05555bc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4764 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -106,6 +106,8 @@ public:
|
||||
bool indeterminate() const { return m_indeterminate; }
|
||||
void set_indeterminate(bool);
|
||||
|
||||
bool can_have_text_editing_cursor() const;
|
||||
|
||||
GC::Ptr<HTMLDataListElement const> list() const;
|
||||
|
||||
void did_pick_color(Optional<Color> picked_color, ColorPickerUpdateState state);
|
||||
|
||||
Reference in New Issue
Block a user