mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Use shadow_root_internal() when building <input> UA shadow DOM
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 10:54:57 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/806d32c88f
@@ -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