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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
BackgroundRepeatStyleValue.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
BackgroundRepeatStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
BackgroundSizeStyleValue.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
BackgroundSizeStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Use correct canonical serialization for BorderRadiusStyleValue 2025-03-18 21:55:06 +01:00
BorderRadiusStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
ColorSchemeStyleValue.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ConicGradientStyleValue.cpp Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
ConicGradientStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
ContentStyleValue.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
ContentStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CounterDefinitionsStyleValue.cpp LibWeb: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
CounterDefinitionsStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
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 LibWeb: Save ScrollState snapshot in DisplayList to avoid race condition 2025-04-12 02:55:18 +02:00
CursorStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
DisplayStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Implement interpolation of edge values 2025-04-23 09:13:45 +01:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridAutoFlowStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTemplateAreaStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTemplateAreaStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTrackPlacementStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTrackPlacementStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTrackSizeListStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTrackSizeListStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
LengthStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
LinearGradientStyleValue.cpp Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
LinearGradientStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
MathDepthStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
MathDepthStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb/CSS: Teach OpenTypeTaggedStyleValue to serialize without "1" 2025-04-07 10:00:21 +01:00
OpenTypeTaggedStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
PositionStyleValue.cpp LibWeb: Properly serialize position/edge style values 2024-12-13 11:35:38 +00:00
PositionStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
RadialGradientStyleValue.cpp Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
RadialGradientStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
RectStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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 LibWeb/CSS: Implement UnicodeRangeStyleValue 2025-03-28 09:15:02 +00:00
UnicodeRangeStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
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