diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h index a268ede06a..558c219aaf 100644 --- a/Userland/Libraries/LibWeb/DOM/Document.h +++ b/Userland/Libraries/LibWeb/DOM/Document.h @@ -524,6 +524,10 @@ public: void shared_declarative_refresh_steps(StringView input, JS::GCPtr meta_element = nullptr); + struct TopOfTheDocument { }; + using IndicatedPart = Variant; + IndicatedPart determine_the_indicated_part() const; + protected: virtual void initialize(JS::Realm&) override; virtual void visit_edges(Cell::Visitor&) override; @@ -543,9 +547,6 @@ private: void queue_intersection_observer_task(); void queue_an_intersection_observer_entry(IntersectionObserver::IntersectionObserver&, HighResolutionTime::DOMHighResTimeStamp time, JS::NonnullGCPtr root_bounds, JS::NonnullGCPtr bounding_client_rect, JS::NonnullGCPtr intersection_rect, bool is_intersecting, double intersection_ratio, JS::NonnullGCPtr target); - struct TopOfTheDocument { }; - using IndicatedPart = Variant; - IndicatedPart determine_the_indicated_part() const; Element* find_a_potential_indicated_element(DeprecatedString fragment) const; OwnPtr m_style_computer;