mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
LibWeb: Don't create shadow root for input hidden
This commit is contained in:
parent
3e778fe29c
commit
d290569535
Notes:
sideshowbarker
2024-07-17 09:48:50 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/d290569535 Pull-request: https://github.com/SerenityOS/serenity/pull/21332
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue