#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 {
ContainerStuckLogical PhysicalToLogicalLtrHorizontalTb(
ContainerStuckPhysical physical) { … }
}
ContainerStuckLogical CSSContainerValues::StuckInline() const { … }
ContainerStuckLogical CSSContainerValues::StuckBlock() const { … }
}