#include "third_party/blink/renderer/core/css/resolver/style_resolver_state.h"
#include "third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom-blink.h"
#include "third_party/blink/renderer/core/animation/css/css_animations.h"
#include "third_party/blink/renderer/core/core_probes_inl.h"
#include "third_party/blink/renderer/core/css/container_query_evaluator.h"
#include "third_party/blink/renderer/core/css/css_light_dark_value_pair.h"
#include "third_party/blink/renderer/core/css/css_property_value_set.h"
#include "third_party/blink/renderer/core/dom/node.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/probe/core_probes.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
namespace blink {
namespace {
Element* ComputeStyledElement(const StyleRequest& style_request,
Element& element) { … }
}
StyleResolverState::StyleResolverState(
Document& document,
Element& element,
const StyleRecalcContext* style_recalc_context,
const StyleRequest& style_request)
: … { … }
StyleResolverState::~StyleResolverState() { … }
bool StyleResolverState::IsInheritedForUnset(
const CSSProperty& property) const { … }
EInsideLink StyleResolverState::InsideLink() const { … }
const ComputedStyle* StyleResolverState::TakeStyle() { … }
void StyleResolverState::UpdateLengthConversionData() { … }
CSSToLengthConversionData StyleResolverState::UnzoomedLengthConversionData(
const FontSizeStyle& font_size_style) { … }
CSSToLengthConversionData StyleResolverState::FontSizeConversionData() { … }
CSSToLengthConversionData StyleResolverState::UnzoomedLengthConversionData() { … }
void StyleResolverState::SetParentStyle(const ComputedStyle* parent_style) { … }
void StyleResolverState::SetLayoutParentStyle(
const ComputedStyle* parent_style) { … }
void StyleResolverState::LoadPendingResources() { … }
const FontDescription& StyleResolverState::ParentFontDescription() const { … }
void StyleResolverState::SetZoom(float f) { … }
void StyleResolverState::SetEffectiveZoom(float f) { … }
void StyleResolverState::SetWritingMode(WritingMode new_writing_mode) { … }
void StyleResolverState::SetTextSizeAdjust(
TextSizeAdjust new_text_size_adjust) { … }
void StyleResolverState::SetTextOrientation(ETextOrientation text_orientation) { … }
void StyleResolverState::SetPositionAnchor(ScopedCSSName* position_anchor) { … }
void StyleResolverState::SetPositionAreaOffsets(
const std::optional<PositionAreaOffsets>& position_area_offsets) { … }
CSSParserMode StyleResolverState::GetParserMode() const { … }
Element* StyleResolverState::GetAnimatingElement() const { … }
PseudoElement* StyleResolverState::GetPseudoElement() const { … }
const CSSValue& StyleResolverState::ResolveLightDarkPair(
const CSSValue& value) { … }
void StyleResolverState::UpdateFont() { … }
void StyleResolverState::UpdateLineHeight() { … }
bool StyleResolverState::CanAffectAnimations() const { … }
}