mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48:47 +00: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:
parent
fa4b324a12
commit
660e846e94
Notes:
github-actions[bot]
2024-08-26 18:09:55 +00:00
Author: https://github.com/trflynn89
Commit: 660e846e94
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1195
5 changed files with 3 additions and 24 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue