chromium/third_party/blink/renderer/core/css/style_containment_scope.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/css/style_containment_scope.h"

#include "third_party/blink/renderer/core/css/style_containment_scope_tree.h"
#include "third_party/blink/renderer/core/dom/layout_tree_builder_traversal.h"
#include "third_party/blink/renderer/core/layout/layout_quote.h"

namespace blink {

StyleContainmentScope::StyleContainmentScope(
    const Element* element,
    StyleContainmentScopeTree* style_containment_tree)
    :{}

void StyleContainmentScope::Trace(Visitor* visitor) const {}

// If the scope is about to be removed, detach self from the parent,
// reattach the quotes and the children scopes to the parent scope.
void StyleContainmentScope::ReattachToParent() {}

bool StyleContainmentScope::IsAncestorOf(const Element* element,
                                         const Element* stay_within) {}

void StyleContainmentScope::AppendChild(StyleContainmentScope* child) {}

void StyleContainmentScope::RemoveChild(StyleContainmentScope* child) {}

void StyleContainmentScope::Remove() {}

// Get the quote which would be the last in preorder traversal before we hit
// Element*.
const LayoutQuote* StyleContainmentScope::FindQuotePrecedingElement(
    const Element& element) const {}

void StyleContainmentScope::AttachQuote(LayoutQuote& quote) {}

void StyleContainmentScope::DetachQuote(LayoutQuote& quote) {}

int StyleContainmentScope::ComputeInitialQuoteDepth() const {}

void StyleContainmentScope::UpdateQuotes() const {}

}  // namespace blink