mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-08 09:35:15 +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:
@@ -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