ladybird/Libraries/LibWeb/CSS/StyleValues
Sam Atkins d18b0c07ca LibWeb/CSS: Make UnresolvedStyleValue figure out if it contains ASFs
UnresolvedStyleValue::create() has one user where we know if there are
any arbitrary substitution functions in the list of CVs, and two users
where we don't know and just hope there aren't any. I'm about to add
another user that also doesn't know, and so it seems worth just making
UnresolvedStyleValue::create() do that work instead.

We keep the parameter, now Optional<>, so that we save some redundant
work in that one place where we do already know.
2025-07-16 14:47:45 +01:00
..
AbstractImageStyleValue.h LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
AngleStyleValue.cpp LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
AngleStyleValue.h
BackgroundRepeatStyleValue.cpp
BackgroundRepeatStyleValue.h
BackgroundSizeStyleValue.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
BackgroundSizeStyleValue.h
BasicShapeStyleValue.cpp LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
BasicShapeStyleValue.h LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
BorderImageSliceStyleValue.cpp LibWeb: Parse the border-image-slice property 2025-07-03 10:19:44 +01:00
BorderImageSliceStyleValue.h LibWeb: Parse the border-image-slice property 2025-07-03 10:19:44 +01:00
BorderRadiusStyleValue.cpp
BorderRadiusStyleValue.h
CalculatedStyleValue.cpp LibWeb: Add new CalculatedStyleValue::resolve_* methods 2025-07-16 13:05:33 +01:00
CalculatedStyleValue.h LibWeb: Add new CalculatedStyleValue::resolve_* methods 2025-07-16 13:05:33 +01:00
ColorFunctionStyleValue.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
ColorFunctionStyleValue.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
ColorMixStyleValue.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
ColorMixStyleValue.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
ColorSchemeStyleValue.cpp
ColorSchemeStyleValue.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ConicGradientStyleValue.cpp
ConicGradientStyleValue.h
ContentStyleValue.cpp
ContentStyleValue.h
CounterDefinitionsStyleValue.cpp
CounterDefinitionsStyleValue.h
CounterStyleValue.cpp LibWeb: Support counter-* properties on pseudo-elements 2025-06-19 12:35:31 +01:00
CounterStyleValue.h LibWeb: Support counter-* properties on pseudo-elements 2025-06-19 12:35:31 +01:00
CSSColorValue.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSColorValue.h LibWeb: Allow passing a resolution context to CSSStyleValue::to_color 2025-07-04 13:18:55 +01:00
CSSHSL.cpp LibWeb: Serialize RGB, HWB and HSL colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSHSL.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSHWB.cpp LibWeb: Serialize RGB, HWB and HSL colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSHWB.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSKeywordValue.cpp LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
CSSKeywordValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
CSSLabLike.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSLabLike.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSLCHLike.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSLCHLike.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSLightDark.cpp LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSLightDark.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSNumericValue.h
CSSRGB.cpp LibWeb: Serialize RGB, HWB and HSL colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSRGB.h LibWeb: Don't resolve colors with unresolved components 2025-07-16 13:05:33 +01:00
CSSUnitValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
CursorStyleValue.cpp
CursorStyleValue.h
CustomIdentStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
DisplayStyleValue.cpp
DisplayStyleValue.h
EasingStyleValue.cpp LibWeb: Allow calc() values in cubic-bezier() easing functions 2025-06-18 08:57:06 +02:00
EasingStyleValue.h LibWeb: Allow calc() values in cubic-bezier() easing functions 2025-06-18 08:57:06 +02:00
EdgeStyleValue.cpp LibWeb/CSS: Extract SerializationMode into its own header 2025-05-17 07:53:24 +01:00
EdgeStyleValue.h
FilterValueListStyleValue.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
FilterValueListStyleValue.h LibWeb/SVG: Implement resolution for a subset of SVG filters 2025-07-09 18:07:12 +01:00
FitContentStyleValue.h
FlexStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
FontSourceStyleValue.cpp LibWeb/CSS: Parse and use tech() in @font-face { src } 2025-06-05 12:10:29 +01:00
FontSourceStyleValue.h LibWeb/CSS: Parse and use tech() in @font-face { src } 2025-06-05 12:10:29 +01:00
FontStyleStyleValue.cpp LibWeb: Parse oblique font-style with an angle value 2025-05-03 12:05:22 +02:00
FontStyleStyleValue.h LibWeb: Parse oblique font-style with an angle value 2025-05-03 12:05:22 +02:00
FrequencyStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
GridAutoFlowStyleValue.cpp
GridAutoFlowStyleValue.h
GridTemplateAreaStyleValue.cpp
GridTemplateAreaStyleValue.h
GridTrackPlacementStyleValue.cpp
GridTrackPlacementStyleValue.h
GridTrackSizeListStyleValue.cpp
GridTrackSizeListStyleValue.h
GuaranteedInvalidStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
ImageStyleValue.cpp LibWeb: Absolutize CSS image URLs for computed style resolution 2025-06-03 19:30:43 -04:00
ImageStyleValue.h LibWeb: Absolutize CSS image URLs for computed style resolution 2025-06-03 19:30:43 -04:00
IntegerStyleValue.cpp LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
IntegerStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
LengthStyleValue.cpp
LengthStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
LinearGradientStyleValue.cpp
LinearGradientStyleValue.h
MathDepthStyleValue.cpp
MathDepthStyleValue.h
NumberStyleValue.cpp LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
NumberStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
OpenTypeTaggedStyleValue.cpp
OpenTypeTaggedStyleValue.h
PendingSubstitutionStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
PercentageStyleValue.h
PositionStyleValue.cpp
PositionStyleValue.h
RadialGradientStyleValue.cpp
RadialGradientStyleValue.h
RatioStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
RectStyleValue.cpp
RectStyleValue.h
ResolutionStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
ScrollbarColorStyleValue.cpp LibWeb/CSS: Implement the scrollbar-color property 2025-06-02 00:17:51 +02:00
ScrollbarColorStyleValue.h LibWeb/CSS: Implement the scrollbar-color property 2025-06-02 00:17:51 +02:00
ScrollbarGutterStyleValue.h
ShadowStyleValue.cpp LibWeb: Don't serialize omitted box-shadow and text-shadow values 2025-06-15 16:05:12 +02:00
ShadowStyleValue.h LibWeb: Don't serialize omitted box-shadow and text-shadow values 2025-06-15 16:05:12 +02:00
ShorthandStyleValue.cpp LibWeb: Account for non-shorthand sub-properties when serializing border 2025-07-16 06:49:38 +01:00
ShorthandStyleValue.h
StringStyleValue.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
StyleValueList.cpp LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
StyleValueList.h LibWeb/CSS: Add tokenize() method to style values, to get a list of CVs 2025-07-16 14:47:45 +01:00
TimeStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
TransformationStyleValue.cpp LibWeb: Mark CalculatedStyleValue::resolve_* methods as deprecated 2025-07-16 13:05:33 +01:00
TransformationStyleValue.h
TransitionStyleValue.cpp LibWeb: Implement the transition-behavior CSS property 2025-05-02 11:07:19 +01:00
TransitionStyleValue.h LibWeb: Implement the transition-behavior CSS property 2025-05-02 11:07:19 +01:00
UnicodeRangeStyleValue.cpp
UnicodeRangeStyleValue.h
UnresolvedStyleValue.cpp LibWeb/CSS: Make UnresolvedStyleValue figure out if it contains ASFs 2025-07-16 14:47:45 +01:00
UnresolvedStyleValue.h LibWeb/CSS: Make UnresolvedStyleValue figure out if it contains ASFs 2025-07-16 14:47:45 +01:00
URLStyleValue.h LibWeb/CSS: Use CSS::URL for <url> and <paint> types 2025-04-30 17:38:38 +01:00