mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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:
Notes:
github-actions[bot]
2024-08-26 18:09:55 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/660e846e945 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1195
@@ -2380,9 +2380,4 @@ HTMLInputElement::ValueAttributeMode HTMLInputElement::value_attribute_mode() co
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
bool HTMLInputElement::is_child_node_selectable(DOM::Node const& node) const
|
||||
{
|
||||
return !is_button() && (!m_placeholder_element || !m_placeholder_element->is_inclusive_ancestor_of(node));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user