Revert "LibWeb: Change where content selection via mouse is allowed"

This reverts commit 6c9adf3dbc.

This change breaks e.g. typing into the search box on google.com and
comment boxes on github.com.
This commit is contained in:
Timothy Flynn 2024-08-26 12:23:21 -04:00 committed by Tim Flynn
parent fa4b324a12
commit 660e846e94
Notes: github-actions[bot] 2024-08-26 18:09:55 +00:00
5 changed files with 3 additions and 24 deletions

View file

@ -70,8 +70,6 @@ public:
virtual bool has_activation_behavior() const override;
virtual void activation_behavior(DOM::Event const&) override;
virtual bool is_child_node_selectable(DOM::Node const&) const override { return false; }
private:
virtual bool is_html_button_element() const override { return true; }