mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Reduce SelectItemOption struct from 40 to 32 bytes
This commit is contained in:
committed by
Andreas Kling
parent
566870b2bd
commit
1bdc41faa1
@@ -14,11 +14,11 @@ namespace Web::HTML {
|
||||
|
||||
struct SelectItemOption {
|
||||
u32 id { 0 };
|
||||
String label {};
|
||||
String value {};
|
||||
bool selected { false };
|
||||
bool disabled { false };
|
||||
JS::GCPtr<HTMLOptionElement> option_element {};
|
||||
String label {};
|
||||
String value {};
|
||||
};
|
||||
|
||||
struct SelectItemOptionGroup {
|
||||
|
||||
Reference in New Issue
Block a user