mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
LibWeb: Move paint properties invalidation flag into Document
Move paint-only properties invalidation flag to Document for consistency, as style and layout invalidation flags are already managed there.
This commit is contained in:
parent
9bccb8c8d7
commit
fc40d35012
5 changed files with 19 additions and 14 deletions
|
@ -202,6 +202,7 @@ public:
|
|||
|
||||
void update_style();
|
||||
void update_layout();
|
||||
void update_paint_and_hit_testing_properties_if_needed();
|
||||
|
||||
void set_needs_layout();
|
||||
|
||||
|
@ -562,6 +563,8 @@ public:
|
|||
|
||||
Element const* element_from_point(double x, double y);
|
||||
|
||||
void set_needs_to_resolve_paint_only_properties() { m_needs_to_resolve_paint_only_properties = true; }
|
||||
|
||||
protected:
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
@ -785,6 +788,8 @@ private:
|
|||
bool m_ready_to_run_scripts { false };
|
||||
|
||||
Vector<HTML::FormAssociatedElement*> m_form_associated_elements_with_form_attribute;
|
||||
|
||||
bool m_needs_to_resolve_paint_only_properties { true };
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue