2020-01-18 11:38:21 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
|
|
* list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
|
|
* and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
2019-06-15 19:55:47 +03:00
|
|
|
#pragma once
|
|
|
|
|
2020-03-22 21:10:43 +03:00
|
|
|
#include <AK/FlyString.h>
|
2019-10-06 14:58:18 +03:00
|
|
|
#include <AK/Function.h>
|
2019-06-29 22:42:07 +03:00
|
|
|
#include <AK/NonnullRefPtrVector.h>
|
|
|
|
#include <AK/OwnPtr.h>
|
2019-09-29 17:24:57 +03:00
|
|
|
#include <AK/String.h>
|
2019-10-05 11:16:27 +03:00
|
|
|
#include <AK/URL.h>
|
2019-10-04 16:50:04 +03:00
|
|
|
#include <AK/WeakPtr.h>
|
2020-02-15 02:10:34 +03:00
|
|
|
#include <LibCore/Forward.h>
|
2020-03-14 14:41:51 +03:00
|
|
|
#include <LibJS/Forward.h>
|
2020-09-20 20:22:44 +03:00
|
|
|
#include <LibWeb/Bindings/ScriptExecutionContext.h>
|
2021-02-18 00:52:21 +03:00
|
|
|
#include <LibWeb/Bindings/WindowObject.h>
|
2020-03-07 12:32:51 +03:00
|
|
|
#include <LibWeb/CSS/StyleResolver.h>
|
|
|
|
#include <LibWeb/CSS/StyleSheet.h>
|
2020-06-04 17:06:32 +03:00
|
|
|
#include <LibWeb/CSS/StyleSheetList.h>
|
2020-11-13 09:08:06 +03:00
|
|
|
#include <LibWeb/DOM/DOMImplementation.h>
|
2020-03-28 11:12:13 +03:00
|
|
|
#include <LibWeb/DOM/NonElementParentNode.h>
|
2020-03-07 12:32:51 +03:00
|
|
|
#include <LibWeb/DOM/ParentNode.h>
|
2021-01-28 23:31:20 +03:00
|
|
|
#include <LibWeb/HTML/HTMLScriptElement.h>
|
2019-06-15 19:55:47 +03:00
|
|
|
|
2020-07-26 20:37:56 +03:00
|
|
|
namespace Web::DOM {
|
2020-03-07 12:27:02 +03:00
|
|
|
|
2020-07-18 23:17:17 +03:00
|
|
|
enum class QuirksMode {
|
|
|
|
No,
|
|
|
|
Limited,
|
|
|
|
Yes
|
|
|
|
};
|
|
|
|
|
2020-03-28 11:12:13 +03:00
|
|
|
class Document
|
|
|
|
: public ParentNode
|
2020-09-20 20:22:44 +03:00
|
|
|
, public NonElementParentNode<Document>
|
2021-02-04 00:47:50 +03:00
|
|
|
, public HTML::GlobalEventHandlers
|
2020-09-20 20:22:44 +03:00
|
|
|
, public Bindings::ScriptExecutionContext {
|
2019-06-15 19:55:47 +03:00
|
|
|
public:
|
2020-03-14 15:15:11 +03:00
|
|
|
using WrapperType = Bindings::DocumentWrapper;
|
|
|
|
|
2021-02-18 00:52:21 +03:00
|
|
|
static NonnullRefPtr<Document> create(const URL& url = "about:blank")
|
|
|
|
{
|
|
|
|
return adopt(*new Document(url));
|
|
|
|
}
|
|
|
|
static NonnullRefPtr<Document> create_with_global_object(Bindings::WindowObject&)
|
|
|
|
{
|
|
|
|
return Document::create();
|
|
|
|
}
|
|
|
|
|
2019-06-15 19:55:47 +03:00
|
|
|
virtual ~Document() override;
|
|
|
|
|
2020-12-15 20:53:35 +03:00
|
|
|
bool should_invalidate_styles_on_attribute_changes() const { return m_should_invalidate_styles_on_attribute_changes; }
|
|
|
|
void set_should_invalidate_styles_on_attribute_changes(bool b) { m_should_invalidate_styles_on_attribute_changes = b; }
|
|
|
|
|
2019-10-05 11:16:27 +03:00
|
|
|
void set_url(const URL& url) { m_url = url; }
|
2020-06-06 14:35:58 +03:00
|
|
|
URL url() const { return m_url; }
|
2019-10-05 11:16:27 +03:00
|
|
|
|
2020-04-07 23:56:13 +03:00
|
|
|
Origin origin() const;
|
2020-11-13 09:08:06 +03:00
|
|
|
void set_origin(const Origin& origin);
|
2020-04-07 23:56:13 +03:00
|
|
|
|
2020-06-05 14:24:35 +03:00
|
|
|
bool is_scripting_enabled() const { return true; }
|
|
|
|
|
2019-10-05 11:16:27 +03:00
|
|
|
URL complete_url(const String&) const;
|
|
|
|
|
2020-07-26 21:01:35 +03:00
|
|
|
CSS::StyleResolver& style_resolver() { return *m_style_resolver; }
|
|
|
|
const CSS::StyleResolver& style_resolver() const { return *m_style_resolver; }
|
2019-06-15 23:49:44 +03:00
|
|
|
|
2020-06-04 17:06:32 +03:00
|
|
|
CSS::StyleSheetList& style_sheets() { return *m_style_sheets; }
|
|
|
|
const CSS::StyleSheetList& style_sheets() const { return *m_style_sheets; }
|
2019-06-15 23:49:44 +03:00
|
|
|
|
2020-06-16 20:09:14 +03:00
|
|
|
virtual FlyString node_name() const override { return "#document"; }
|
2019-09-28 23:59:16 +03:00
|
|
|
|
2019-10-14 18:54:17 +03:00
|
|
|
void set_hovered_node(Node*);
|
2019-09-29 12:50:35 +03:00
|
|
|
Node* hovered_node() { return m_hovered_node; }
|
|
|
|
const Node* hovered_node() const { return m_hovered_node; }
|
|
|
|
|
2019-11-09 13:58:50 +03:00
|
|
|
void set_inspected_node(Node*);
|
|
|
|
Node* inspected_node() { return m_inspected_node; }
|
|
|
|
const Node* inspected_node() const { return m_inspected_node; }
|
|
|
|
|
2020-08-03 14:30:18 +03:00
|
|
|
const Element* document_element() const;
|
2020-08-03 23:23:40 +03:00
|
|
|
const HTML::HTMLHtmlElement* html_element() const;
|
2020-07-28 19:20:36 +03:00
|
|
|
const HTML::HTMLHeadElement* head() const;
|
|
|
|
const HTML::HTMLElement* body() const;
|
2020-08-17 21:14:30 +03:00
|
|
|
void set_body(HTML::HTMLElement& new_body);
|
2019-09-29 17:24:57 +03:00
|
|
|
|
|
|
|
String title() const;
|
2020-12-06 23:39:36 +03:00
|
|
|
void set_title(const String&);
|
2019-09-29 17:24:57 +03:00
|
|
|
|
2019-10-04 16:50:04 +03:00
|
|
|
void attach_to_frame(Badge<Frame>, Frame&);
|
|
|
|
void detach_from_frame(Badge<Frame>, Frame&);
|
|
|
|
|
|
|
|
Frame* frame() { return m_frame.ptr(); }
|
|
|
|
const Frame* frame() const { return m_frame.ptr(); }
|
|
|
|
|
2020-11-12 20:23:05 +03:00
|
|
|
Page* page();
|
|
|
|
const Page* page() const;
|
|
|
|
|
2020-02-06 13:56:38 +03:00
|
|
|
Color background_color(const Gfx::Palette&) const;
|
|
|
|
RefPtr<Gfx::Bitmap> background_image() const;
|
2019-10-04 22:05:52 +03:00
|
|
|
|
2020-01-13 22:33:15 +03:00
|
|
|
Color link_color() const;
|
2019-10-06 11:11:54 +03:00
|
|
|
void set_link_color(Color);
|
|
|
|
|
2020-01-13 22:33:15 +03:00
|
|
|
Color active_link_color() const;
|
2019-10-06 11:11:54 +03:00
|
|
|
void set_active_link_color(Color);
|
|
|
|
|
2020-01-13 22:33:15 +03:00
|
|
|
Color visited_link_color() const;
|
2019-10-06 11:11:54 +03:00
|
|
|
void set_visited_link_color(Color);
|
|
|
|
|
2019-10-28 22:51:45 +03:00
|
|
|
void force_layout();
|
2020-03-25 20:51:04 +03:00
|
|
|
void invalidate_layout();
|
2019-10-13 13:34:25 +03:00
|
|
|
|
2019-10-14 18:56:19 +03:00
|
|
|
void update_style();
|
|
|
|
void update_layout();
|
2019-10-06 14:58:18 +03:00
|
|
|
|
2019-10-13 00:26:47 +03:00
|
|
|
virtual bool is_child_allowed(const Node&) const override;
|
|
|
|
|
2020-11-22 17:53:01 +03:00
|
|
|
const Layout::InitialContainingBlockBox* layout_node() const;
|
|
|
|
Layout::InitialContainingBlockBox* layout_node();
|
2019-10-13 13:34:25 +03:00
|
|
|
|
2019-10-19 19:57:02 +03:00
|
|
|
void schedule_style_update();
|
2021-01-09 17:07:37 +03:00
|
|
|
void schedule_forced_layout();
|
2019-10-19 19:57:02 +03:00
|
|
|
|
2020-10-07 13:47:17 +03:00
|
|
|
NonnullRefPtrVector<Element> get_elements_by_name(const String&) const;
|
2020-07-23 19:18:13 +03:00
|
|
|
NonnullRefPtrVector<Element> get_elements_by_tag_name(const FlyString&) const;
|
2020-12-01 17:47:50 +03:00
|
|
|
NonnullRefPtrVector<Element> get_elements_by_class_name(const FlyString&) const;
|
2019-10-21 13:01:30 +03:00
|
|
|
|
2019-11-25 02:27:41 +03:00
|
|
|
const String& source() const { return m_source; }
|
|
|
|
void set_source(const String& source) { m_source = source; }
|
|
|
|
|
2020-09-20 20:22:44 +03:00
|
|
|
virtual JS::Interpreter& interpreter() override;
|
2020-03-14 14:41:51 +03:00
|
|
|
|
2020-04-04 23:12:37 +03:00
|
|
|
JS::Value run_javascript(const StringView&);
|
|
|
|
|
2020-05-10 21:43:54 +03:00
|
|
|
NonnullRefPtr<Element> create_element(const String& tag_name);
|
2021-01-28 23:15:04 +03:00
|
|
|
NonnullRefPtr<Element> create_element_ns(const String& namespace_, const String& qualifed_name);
|
2020-08-17 21:14:30 +03:00
|
|
|
NonnullRefPtr<DocumentFragment> create_document_fragment();
|
2020-05-10 21:43:54 +03:00
|
|
|
NonnullRefPtr<Text> create_text_node(const String& data);
|
2020-08-17 21:14:30 +03:00
|
|
|
NonnullRefPtr<Comment> create_comment(const String& data);
|
2020-05-10 21:43:54 +03:00
|
|
|
|
2020-07-28 19:20:36 +03:00
|
|
|
void set_pending_parsing_blocking_script(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement*);
|
|
|
|
HTML::HTMLScriptElement* pending_parsing_blocking_script() { return m_pending_parsing_blocking_script; }
|
|
|
|
NonnullRefPtr<HTML::HTMLScriptElement> take_pending_parsing_blocking_script(Badge<HTML::HTMLDocumentParser>);
|
2020-05-24 23:00:46 +03:00
|
|
|
|
2020-07-28 19:20:36 +03:00
|
|
|
void add_script_to_execute_when_parsing_has_finished(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement&);
|
|
|
|
NonnullRefPtrVector<HTML::HTMLScriptElement> take_scripts_to_execute_when_parsing_has_finished(Badge<HTML::HTMLDocumentParser>);
|
2020-05-30 13:26:15 +03:00
|
|
|
|
2020-07-28 19:20:36 +03:00
|
|
|
void add_script_to_execute_as_soon_as_possible(Badge<HTML::HTMLScriptElement>, HTML::HTMLScriptElement&);
|
|
|
|
NonnullRefPtrVector<HTML::HTMLScriptElement> take_scripts_to_execute_as_soon_as_possible(Badge<HTML::HTMLDocumentParser>);
|
2020-05-30 13:26:15 +03:00
|
|
|
|
2020-07-18 23:17:17 +03:00
|
|
|
QuirksMode mode() const { return m_quirks_mode; }
|
|
|
|
bool in_quirks_mode() const { return m_quirks_mode == QuirksMode::Yes; }
|
|
|
|
void set_quirks_mode(QuirksMode mode) { m_quirks_mode = mode; }
|
2020-05-28 01:20:36 +03:00
|
|
|
|
2020-06-26 00:42:08 +03:00
|
|
|
void adopt_node(Node&);
|
|
|
|
|
2020-07-18 23:17:17 +03:00
|
|
|
const DocumentType* doctype() const;
|
|
|
|
const String& compat_mode() const;
|
|
|
|
|
2020-08-02 17:05:59 +03:00
|
|
|
void set_editable(bool editable) { m_editable = editable; }
|
|
|
|
virtual bool is_editable() const final;
|
|
|
|
|
2020-08-14 20:40:37 +03:00
|
|
|
Element* focused_element() { return m_focused_element; }
|
|
|
|
const Element* focused_element() const { return m_focused_element; }
|
|
|
|
|
|
|
|
void set_focused_element(Element*);
|
|
|
|
|
2020-08-20 00:30:33 +03:00
|
|
|
bool created_for_appropriate_template_contents() const { return m_created_for_appropriate_template_contents; }
|
|
|
|
void set_created_for_appropriate_template_contents(bool value) { m_created_for_appropriate_template_contents = value; }
|
|
|
|
|
|
|
|
Document* associated_inert_template_document() { return m_associated_inert_template_document; }
|
|
|
|
const Document* associated_inert_template_document() const { return m_associated_inert_template_document; }
|
|
|
|
void set_associated_inert_template_document(Document& document) { m_associated_inert_template_document = document; }
|
|
|
|
|
2020-08-31 15:56:16 +03:00
|
|
|
const String& ready_state() const { return m_ready_state; }
|
|
|
|
void set_ready_state(const String&);
|
|
|
|
|
2020-10-11 22:52:59 +03:00
|
|
|
void ref_from_node(Badge<Node>)
|
|
|
|
{
|
2020-10-23 00:38:14 +03:00
|
|
|
increment_referencing_node_count();
|
2020-10-11 22:52:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void unref_from_node(Badge<Node>)
|
|
|
|
{
|
2020-10-23 00:38:14 +03:00
|
|
|
decrement_referencing_node_count();
|
2020-10-11 22:52:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void removed_last_ref();
|
|
|
|
|
2020-10-18 14:45:28 +03:00
|
|
|
Window& window() { return *m_window; }
|
|
|
|
|
2020-11-13 08:02:15 +03:00
|
|
|
const String& content_type() const { return m_content_type; }
|
|
|
|
void set_content_type(const String& content_type) { m_content_type = content_type; }
|
|
|
|
|
2020-11-13 14:16:28 +03:00
|
|
|
const String& encoding() const { return m_encoding; }
|
|
|
|
void set_encoding(const String& encoding) { m_encoding = encoding; }
|
|
|
|
|
|
|
|
// NOTE: These are intended for the JS bindings
|
|
|
|
const String& character_set() const { return encoding(); }
|
|
|
|
const String& charset() const { return encoding(); }
|
|
|
|
const String& input_encoding() const { return encoding(); }
|
|
|
|
|
2020-11-21 21:32:39 +03:00
|
|
|
bool ready_for_post_load_tasks() const { return m_ready_for_post_load_tasks; }
|
|
|
|
void set_ready_for_post_load_tasks(bool ready) { m_ready_for_post_load_tasks = ready; }
|
|
|
|
|
|
|
|
void completely_finish_loading();
|
|
|
|
|
|
|
|
const NonnullRefPtr<DOMImplementation> implementation() const { return m_implementation; }
|
|
|
|
|
2021-01-28 23:31:20 +03:00
|
|
|
RefPtr<HTML::HTMLScriptElement> current_script() const { return m_current_script; }
|
|
|
|
void set_current_script(Badge<HTML::HTMLScriptElement>, RefPtr<HTML::HTMLScriptElement> script) { m_current_script = script; }
|
|
|
|
|
|
|
|
u32 ignore_destructive_writes_counter() const { return m_ignore_destructive_writes_counter; }
|
|
|
|
void increment_ignore_destructive_writes_counter() { m_ignore_destructive_writes_counter++; }
|
|
|
|
void decrement_ignore_destructive_writes_counter() { m_ignore_destructive_writes_counter--; }
|
|
|
|
|
2020-11-21 21:32:39 +03:00
|
|
|
virtual EventTarget* get_parent(const Event&) override;
|
2020-11-13 09:08:06 +03:00
|
|
|
|
2019-06-15 19:55:47 +03:00
|
|
|
private:
|
2020-10-23 09:31:26 +03:00
|
|
|
explicit Document(const URL&);
|
|
|
|
|
2021-02-04 00:47:50 +03:00
|
|
|
// ^DOM::Node
|
2021-01-06 16:27:40 +03:00
|
|
|
virtual RefPtr<Layout::Node> create_layout_node() override;
|
2019-10-05 23:27:52 +03:00
|
|
|
|
2021-02-04 00:47:50 +03:00
|
|
|
// ^HTML::GlobalEventHandlers
|
|
|
|
virtual EventTarget& global_event_handlers_to_event_target() final { return *this; }
|
|
|
|
|
2020-10-20 18:43:13 +03:00
|
|
|
void tear_down_layout_tree();
|
|
|
|
|
2020-10-23 00:38:14 +03:00
|
|
|
void increment_referencing_node_count()
|
|
|
|
{
|
|
|
|
ASSERT(!m_deletion_has_begun);
|
|
|
|
++m_referencing_node_count;
|
|
|
|
}
|
|
|
|
|
|
|
|
void decrement_referencing_node_count()
|
|
|
|
{
|
|
|
|
ASSERT(!m_deletion_has_begun);
|
|
|
|
ASSERT(m_referencing_node_count);
|
|
|
|
--m_referencing_node_count;
|
|
|
|
if (!m_referencing_node_count && !ref_count()) {
|
|
|
|
m_deletion_has_begun = true;
|
|
|
|
delete this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-11 22:52:59 +03:00
|
|
|
unsigned m_referencing_node_count { 0 };
|
|
|
|
|
2020-07-26 21:01:35 +03:00
|
|
|
OwnPtr<CSS::StyleResolver> m_style_resolver;
|
2020-06-04 17:06:32 +03:00
|
|
|
RefPtr<CSS::StyleSheetList> m_style_sheets;
|
2019-09-29 12:50:35 +03:00
|
|
|
RefPtr<Node> m_hovered_node;
|
2019-11-09 13:58:50 +03:00
|
|
|
RefPtr<Node> m_inspected_node;
|
2019-10-04 16:50:04 +03:00
|
|
|
WeakPtr<Frame> m_frame;
|
2019-10-05 11:16:27 +03:00
|
|
|
URL m_url;
|
2019-10-06 11:11:54 +03:00
|
|
|
|
2020-04-01 19:53:28 +03:00
|
|
|
RefPtr<Window> m_window;
|
|
|
|
|
2020-11-22 17:53:01 +03:00
|
|
|
RefPtr<Layout::InitialContainingBlockBox> m_layout_root;
|
2019-10-13 13:34:25 +03:00
|
|
|
|
2020-01-13 22:33:15 +03:00
|
|
|
Optional<Color> m_link_color;
|
|
|
|
Optional<Color> m_active_link_color;
|
|
|
|
Optional<Color> m_visited_link_color;
|
2019-10-19 19:57:02 +03:00
|
|
|
|
2020-02-02 14:34:39 +03:00
|
|
|
RefPtr<Core::Timer> m_style_update_timer;
|
2021-01-09 17:07:37 +03:00
|
|
|
RefPtr<Core::Timer> m_forced_layout_timer;
|
2019-11-25 02:27:41 +03:00
|
|
|
|
|
|
|
String m_source;
|
2020-03-14 14:41:51 +03:00
|
|
|
|
|
|
|
OwnPtr<JS::Interpreter> m_interpreter;
|
2020-05-24 23:00:46 +03:00
|
|
|
|
2020-07-28 19:20:36 +03:00
|
|
|
RefPtr<HTML::HTMLScriptElement> m_pending_parsing_blocking_script;
|
|
|
|
NonnullRefPtrVector<HTML::HTMLScriptElement> m_scripts_to_execute_when_parsing_has_finished;
|
|
|
|
NonnullRefPtrVector<HTML::HTMLScriptElement> m_scripts_to_execute_as_soon_as_possible;
|
2020-05-28 01:20:36 +03:00
|
|
|
|
2020-07-18 23:17:17 +03:00
|
|
|
QuirksMode m_quirks_mode { QuirksMode::No };
|
2020-08-02 17:05:59 +03:00
|
|
|
bool m_editable { false };
|
2020-08-14 20:40:37 +03:00
|
|
|
|
|
|
|
WeakPtr<Element> m_focused_element;
|
2020-08-20 00:30:33 +03:00
|
|
|
|
|
|
|
bool m_created_for_appropriate_template_contents { false };
|
|
|
|
RefPtr<Document> m_associated_inert_template_document;
|
2020-08-31 15:56:16 +03:00
|
|
|
|
|
|
|
String m_ready_state { "loading" };
|
2020-11-13 11:34:40 +03:00
|
|
|
String m_content_type { "application/xml" };
|
2020-11-13 14:16:28 +03:00
|
|
|
String m_encoding { "UTF-8" };
|
2020-11-13 09:08:06 +03:00
|
|
|
|
2020-11-21 21:32:39 +03:00
|
|
|
bool m_ready_for_post_load_tasks { false };
|
|
|
|
|
2020-11-13 09:08:06 +03:00
|
|
|
NonnullRefPtr<DOMImplementation> m_implementation;
|
2021-01-28 23:31:20 +03:00
|
|
|
RefPtr<HTML::HTMLScriptElement> m_current_script;
|
2020-12-15 20:53:35 +03:00
|
|
|
|
|
|
|
bool m_should_invalidate_styles_on_attribute_changes { true };
|
2021-01-28 23:31:20 +03:00
|
|
|
|
|
|
|
u32 m_ignore_destructive_writes_counter { 0 };
|
2019-06-15 19:55:47 +03:00
|
|
|
};
|
2019-10-06 21:37:39 +03:00
|
|
|
|
|
|
|
}
|