mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 08:39:22 +00:00
LibWeb: Rearrange HTMLElement members to save 8 bytes per instance
This commit is contained in:
parent
48dbec8a9e
commit
aa23a7b58d
Notes:
sideshowbarker
2024-07-17 02:37:08 +09:00
Author: https://github.com/awesomekling
Commit: aa23a7b58d
Pull-request: https://github.com/SerenityOS/serenity/pull/21991
1 changed files with 2 additions and 2 deletions
|
@ -81,6 +81,8 @@ private:
|
|||
// ^HTML::GlobalEventHandlers
|
||||
virtual DOM::EventTarget& global_event_handlers_to_event_target(FlyString const&) override { return *this; }
|
||||
|
||||
JS::GCPtr<DOMStringMap> m_dataset;
|
||||
|
||||
enum class ContentEditableState {
|
||||
True,
|
||||
False,
|
||||
|
@ -88,8 +90,6 @@ private:
|
|||
};
|
||||
ContentEditableState m_content_editable_state { ContentEditableState::Inherit };
|
||||
|
||||
JS::GCPtr<DOMStringMap> m_dataset;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/interaction.html#locked-for-focus
|
||||
bool m_locked_for_focus { false };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue