mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
LibWeb: Reduce SelectItemOption struct from 40 to 32 bytes
This commit is contained in:
parent
566870b2bd
commit
1bdc41faa1
Notes:
github-actions[bot]
2024-11-11 16:07:12 +00:00
Author: https://github.com/shlyakpavel
Commit: 1bdc41faa1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2280
3 changed files with 5 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue