1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:34:59 +00:00

LibWeb: Don't create shadow root for input hidden

This commit is contained in:
Bastiaan van der Plaat 2023-10-04 21:28:39 +02:00 committed by Andreas Kling
parent 3e778fe29c
commit d290569535

View file

@ -514,6 +514,7 @@ void HTMLInputElement::create_shadow_tree_if_needed()
return;
switch (type_state()) {
case TypeAttributeState::Hidden:
case TypeAttributeState::RadioButton:
case TypeAttributeState::Checkbox:
case TypeAttributeState::Button: