mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Shave 16 bytes off of each HTMLElement
This commit is contained in:
parent
6894034774
commit
02611c9c12
Notes:
github-actions[bot]
2025-11-07 16:00:46 +00:00
Author: https://github.com/gmta
Commit: 02611c9c12
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6733
1 changed files with 5 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ namespace Web::HTML {
|
|||
__ENUMERATE_HTML_ELEMENT_DIR_ATTRIBUTE(auto)
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#attr-contenteditable
|
||||
enum class ContentEditableState {
|
||||
enum class ContentEditableState : u8 {
|
||||
True,
|
||||
False,
|
||||
PlaintextOnly,
|
||||
|
|
@ -164,7 +164,7 @@ public:
|
|||
|
||||
virtual void removed_from(Node* old_parent, Node& old_root) override;
|
||||
|
||||
enum class PopoverVisibilityState {
|
||||
enum class PopoverVisibilityState : u8 {
|
||||
Hidden,
|
||||
Showing,
|
||||
};
|
||||
|
|
@ -261,12 +261,12 @@ private:
|
|||
// https://html.spec.whatwg.org/multipage/popover.html#popover-visibility-state
|
||||
PopoverVisibilityState m_popover_visibility_state { PopoverVisibilityState::Hidden };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/popover.html#popover-invoker
|
||||
GC::Ptr<HTMLElement> m_popover_invoker;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/popover.html#popover-showing-or-hiding
|
||||
bool m_popover_showing_or_hiding { false };
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/popover.html#popover-invoker
|
||||
GC::Ptr<HTMLElement> m_popover_invoker;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/popover.html#the-popover-attribute:toggle-task-tracker
|
||||
Optional<ToggleTaskTracker> m_popover_toggle_task_tracker;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue