mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 10:48:41 +00:00
LibWeb: Use shadow_root_internal() when building <input> UA shadow DOM
This commit is contained in:
@@ -368,7 +368,7 @@ Optional<DeprecatedString> HTMLInputElement::placeholder_value() const
|
||||
|
||||
void HTMLInputElement::create_shadow_tree_if_needed()
|
||||
{
|
||||
if (shadow_root())
|
||||
if (shadow_root_internal())
|
||||
return;
|
||||
|
||||
// FIXME: This could be better factored. Everything except the below types becomes a text input.
|
||||
|
||||
Reference in New Issue
Block a user