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

// Copyright 2021 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/css_container_values.h"

#include "third_party/blink/renderer/core/css/container_query_evaluator.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/node_computed_style.h"

namespace blink {

CSSContainerValues::CSSContainerValues(Document& document,
                                       Element& container,
                                       std::optional<double> width,
                                       std::optional<double> height,
                                       ContainerStuckPhysical stuck_horizontal,
                                       ContainerStuckPhysical stuck_vertical,
                                       ContainerSnappedFlags snapped)
    :{}

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

float CSSContainerValues::EmFontSize(float zoom) const {}

float CSSContainerValues::RemFontSize(float zoom) const {}

float CSSContainerValues::ExFontSize(float zoom) const {}

float CSSContainerValues::RexFontSize(float zoom) const {}

float CSSContainerValues::ChFontSize(float zoom) const {}

float CSSContainerValues::RchFontSize(float zoom) const {}

float CSSContainerValues::IcFontSize(float zoom) const {}

float CSSContainerValues::RicFontSize(float zoom) const {}

float CSSContainerValues::LineHeight(float zoom) const {}

float CSSContainerValues::RootLineHeight(float zoom) const {}

float CSSContainerValues::CapFontSize(float zoom) const {}

float CSSContainerValues::RcapFontSize(float zoom) const {}

double CSSContainerValues::ContainerWidth() const {}

double CSSContainerValues::ContainerHeight() const {}

namespace {

// Converts from left/right/top/bottom to start/end as if the writing mode and
// direction was horizontal-tb and ltr.
ContainerStuckLogical PhysicalToLogicalLtrHorizontalTb(
    ContainerStuckPhysical physical) {}

}  // namespace

ContainerStuckLogical CSSContainerValues::StuckInline() const {}

ContainerStuckLogical CSSContainerValues::StuckBlock() const {}

}  // namespace blink