mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-12 13:21:57 +00:00
LibWeb: Use shadow_root_internal() when building <input> UA shadow DOM
This commit is contained in:
parent
e6448f137e
commit
806d32c88f
Notes:
sideshowbarker
2024-07-17 10:54:57 +09:00
Author: https://github.com/awesomekling
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()
|
||||
{
|
||||
if (shadow_root())
|
||||
if (shadow_root_internal())
|
||||
return;
|
||||
|
||||
// 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