mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Initialize tag/attribute name globals in init-time constructors
This commit is contained in:
parent
cdf1282419
commit
40f4ccc3ea
Notes:
sideshowbarker
2024-07-19 03:52:19 +09:00
Author: https://github.com/awesomekling
Commit: 40f4ccc3ea
7 changed files with 3 additions and 13 deletions
|
@ -68,10 +68,6 @@ Document::Document(const URL& url)
|
|||
, m_url(url)
|
||||
, m_window(Window::create_with_document(*this))
|
||||
{
|
||||
HTML::AttributeNames::initialize();
|
||||
HTML::TagNames::initialize();
|
||||
SVG::TagNames::initialize();
|
||||
|
||||
m_style_update_timer = Core::Timer::create_single_shot(0, [this] {
|
||||
update_style();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue