#include "third_party/blink/renderer/core/dom/layout_tree_builder_traversal.h"
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/dom/node_computed_style.h"
#include "third_party/blink/renderer/core/dom/pseudo_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
namespace blink {
inline static bool HasDisplayContentsStyle(const Node& node) { … }
static bool IsLayoutObjectReparented(const LayoutObject* layout_object) { … }
ContainerNode* LayoutTreeBuilderTraversal::Parent(const Node& node) { … }
ContainerNode* LayoutTreeBuilderTraversal::LayoutParent(const Node& node) { … }
LayoutObject* LayoutTreeBuilderTraversal::ParentLayoutObject(const Node& node) { … }
Node* LayoutTreeBuilderTraversal::NextSibling(const Node& node) { … }
Node* LayoutTreeBuilderTraversal::PreviousSibling(const Node& node) { … }
Node* LayoutTreeBuilderTraversal::LastChild(const Node& node) { … }
Node* LayoutTreeBuilderTraversal::Previous(const Node& node,
const Node* stay_within) { … }
Node* LayoutTreeBuilderTraversal::FirstChild(const Node& node) { … }
static Node* NextAncestorSibling(const Node& node, const Node* stay_within) { … }
Node* LayoutTreeBuilderTraversal::NextSkippingChildren(
const Node& node,
const Node* stay_within) { … }
Node* LayoutTreeBuilderTraversal::Next(const Node& node,
const Node* stay_within) { … }
static inline bool AreBoxTreeOrderSiblings(const Node& current, Node* sibling) { … }
static Node* NextLayoutSiblingInBoxTreeOrder(const Node& node) { … }
static Node* NextLayoutSiblingInternal(Node* node, int32_t& limit) { … }
Node* LayoutTreeBuilderTraversal::NextLayoutSibling(const Node& node,
int32_t& limit) { … }
static Node* PreviousLayoutSiblingInBoxTreeOrder(const Node& node) { … }
static Node* PreviousLayoutSiblingInternal(Node* node, int32_t& limit) { … }
Node* LayoutTreeBuilderTraversal::PreviousLayoutSibling(const Node& node,
int32_t& limit) { … }
Node* LayoutTreeBuilderTraversal::FirstLayoutChild(const Node& node) { … }
LayoutObject* LayoutTreeBuilderTraversal::NextSiblingLayoutObject(
const Node& node,
int32_t limit) { … }
LayoutObject* LayoutTreeBuilderTraversal::PreviousSiblingLayoutObject(
const Node& node,
int32_t limit) { … }
LayoutObject* LayoutTreeBuilderTraversal::NextInTopLayer(
const Element& element) { … }
int LayoutTreeBuilderTraversal::ComparePreorderTreePosition(const Node& node1,
const Node& node2) { … }
}