#include "third_party/blink/renderer/core/css/properties/longhands/custom_property.h"
#include "third_party/blink/renderer/core/css/css_unparsed_declaration_value.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"
#include "third_party/blink/renderer/core/css/parser/css_parser_local_context.h"
#include "third_party/blink/renderer/core/css/parser/css_variable_parser.h"
#include "third_party/blink/renderer/core/css/property_registration.h"
#include "third_party/blink/renderer/core/css/property_registry.h"
#include "third_party/blink/renderer/core/css/resolver/style_builder_converter.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
namespace blink {
namespace {
CSSProperty::Flags InheritedFlag(const PropertyRegistration* registration) { … }
}
CustomProperty::CustomProperty(AtomicString name, const Document& document)
: … { … }
CustomProperty::CustomProperty(const AtomicString& name,
const PropertyRegistry* registry)
: … { … }
CustomProperty::CustomProperty(const AtomicString& name,
const PropertyRegistration* registration)
: … { … }
CustomProperty::CustomProperty(const PropertyRegistration* registration)
: … { … }
const AtomicString& CustomProperty::GetPropertyNameAtomicString() const { … }
CSSPropertyName CustomProperty::GetCSSPropertyName() const { … }
bool CustomProperty::HasEqualCSSPropertyName(const CSSProperty& other) const { … }
void CustomProperty::ApplyInitial(StyleResolverState& state) const { … }
void CustomProperty::ApplyInherit(StyleResolverState& state) const { … }
void CustomProperty::ApplyValue(StyleResolverState& state,
const CSSValue& value,
ValueMode value_mode) const { … }
const CSSValue* CustomProperty::ParseSingleValue(
CSSParserTokenStream& stream,
const CSSParserContext& context,
const CSSParserLocalContext& local_context) const { … }
const CSSValue* CustomProperty::CSSValueFromComputedStyleInternal(
const ComputedStyle& style,
const LayoutObject*,
bool allow_visited_style,
CSSValuePhase value_phase) const { … }
const CSSValue* CustomProperty::ParseUntyped(
StringView text,
const CSSParserContext& context,
const CSSParserLocalContext& local_context) const { … }
const CSSValue* CustomProperty::Parse(
StringView text,
const CSSParserContext& context,
const CSSParserLocalContext& local_context) const { … }
bool CustomProperty::HasInitialValue() const { … }
bool CustomProperty::SupportsGuaranteedInvalid() const { … }
bool CustomProperty::HasUniversalSyntax() const { … }
}