#include "third_party/blink/renderer/core/css/style_recalc_root.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/dom/slot_assignment.h"
#include "third_party/blink/renderer/core/html/html_slot_element.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
namespace blink {
Element& StyleRecalcRoot::RootElement() const { … }
#if DCHECK_IS_ON()
ContainerNode* StyleRecalcRoot::Parent(const Node& node) const { … }
bool StyleRecalcRoot::IsChildDirty(const Node& node) const { … }
#endif
bool StyleRecalcRoot::IsDirty(const Node& node) const { … }
namespace {
std::pair<bool, Element*> FirstFlatTreeAncestorForChildDirty(
ContainerNode& parent) { … }
bool IsFlatTreeConnected(const Node& root) { … }
}
void StyleRecalcRoot::SubtreeModified(ContainerNode& parent) { … }
void StyleRecalcRoot::FlatTreePositionChanged(const Node& node) { … }
}