From 806d32c88f7a823b4d203e3381978ae00971fa71 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 9 Mar 2023 20:55:27 +0100 Subject: [PATCH] LibWeb: Use shadow_root_internal() when building UA shadow DOM --- Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp index 7c8fbaff92..528b4c422f 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLInputElement.cpp @@ -368,7 +368,7 @@ Optional 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.