mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Use shadow_root_internal() when building <input> UA shadow DOM
This commit is contained in:
parent
e6448f137e
commit
806d32c88f
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ Optional<DeprecatedString> HTMLInputElement::placeholder_value() const
|
||||||
|
|
||||||
void HTMLInputElement::create_shadow_tree_if_needed()
|
void HTMLInputElement::create_shadow_tree_if_needed()
|
||||||
{
|
{
|
||||||
if (shadow_root())
|
if (shadow_root_internal())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// FIXME: This could be better factored. Everything except the below types becomes a text input.
|
// FIXME: This could be better factored. Everything except the below types becomes a text input.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue