ladybird/Libraries/LibWeb/CSS/StyleValues
Sam Atkins c446281844 LibWeb/CSS: Remove Transformation in favor of TransformationStyleValue
The Transformation class wasn't really accomplishing anything. It still
had to store StyleValues, so it was basically the same as
TransformationStyleValue, with extra steps to convert from one to the
other. So... let's just use TransformationStyleValue instead!

Apart from moving code around, the behavior has changed a bit. We now
actually acknowledge unresolvable parameters and return an error when
we try to produce a matrix from them. Previously we just skipped over
them, which was pretty wrong. This gets us an extra pass in the
typed-om test.

We also get some slightly different results with our transform
serialization, because we're not converting to CSSPixels and back.
2025-12-19 14:51:53 +01:00
..
AbstractImageStyleValue.cpp LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
AbstractImageStyleValue.h LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
AbstractNonMathCalcFunctionStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
AnchorSizeStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
AnchorSizeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
AnchorStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
AnchorStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
AngleStyleValue.cpp LibWeb/CSS: Replace CSSUnitValue with DimensionStyleValue 2025-08-08 15:19:03 +01:00
AngleStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
BackgroundSizeStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
BackgroundSizeStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
BasicShapeStyleValue.cpp LibWeb: Omit default radius from ellipse() serialization 2025-12-12 12:20:16 +00:00
BasicShapeStyleValue.h LibWeb: Don't serialize omitted ellipse() position argument 2025-12-12 12:20:16 +00:00
BorderImageSliceStyleValue.cpp LibWeb: Parse the border-image-slice property 2025-07-03 10:19:44 +01:00
BorderImageSliceStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
BorderRadiusStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
BorderRadiusStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
CalculatedStyleValue.cpp LibWeb: Make logic for creating CalculationNode from StyleValue reusable 2025-12-09 11:23:59 +00:00
CalculatedStyleValue.h LibWeb: Make logic for creating CalculationNode from StyleValue reusable 2025-12-09 11:23:59 +00:00
ColorFunctionStyleValue.cpp LibWeb: Support the display-p3-linear color space in color functions 2025-10-15 18:40:48 +02:00
ColorFunctionStyleValue.h LibWeb: Support the display-p3-linear color space in color functions 2025-10-15 18:40:48 +02:00
ColorMixStyleValue.cpp LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01:00
ColorMixStyleValue.h LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01:00
ColorSchemeStyleValue.cpp LibWeb/CSS: Implement the color-scheme CSS property 2025-01-08 11:18:13 +00:00
ColorSchemeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ColorStyleValue.cpp LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
ColorStyleValue.h LibWeb: Support the display-p3-linear color space in color functions 2025-10-15 18:40:48 +02:00
ComputationContext.h LibWeb: Pass AbstractElement in ComputationContext 2025-10-22 00:01:30 +02:00
ConicGradientStyleValue.cpp LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
ConicGradientStyleValue.h LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
ContentStyleValue.cpp LibWeb/CSS: Set style sheet for children of ContentStyleValue 2025-08-05 00:35:03 +02:00
ContentStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CounterDefinitionsStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
CounterDefinitionsStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
CounterStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CounterStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CursorStyleValue.cpp Everywhere: Avoid large rebuilds when editing (Immutable)Bitmap headers 2025-11-28 18:32:48 +01:00
CursorStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
CustomIdentStyleValue.cpp LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
CustomIdentStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
DimensionStyleValue.cpp LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
DimensionStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
DisplayStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
DisplayStyleValue.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
EasingStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
EasingStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
EdgeStyleValue.cpp LibWeb/CSS: Rename CSSNumericType to NumericType 2025-08-22 09:48:30 +01:00
EdgeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
FilterValueListStyleValue.cpp LibWeb+LibGfx: Move CSS sRGB color serialization function to LibGfx 2025-10-26 18:55:22 +01:00
FilterValueListStyleValue.h LibWeb/CSS: Support interpolating filter and backdrop-filter values 2025-07-30 23:29:07 +02:00
FitContentStyleValue.h LibWeb/CSS: Use empty optional for stretch in FitContentSV 2025-09-04 13:31:24 +01:00
FlexStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
FontSourceStyleValue.cpp LibWeb/CSS: Parse and use tech() in @font-face { src } 2025-06-05 12:10:29 +01:00
FontSourceStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
FontStyleStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
FontStyleStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
FrequencyStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
GridAutoFlowStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridAutoFlowStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
GridTemplateAreaStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
GridTemplateAreaStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
GridTrackPlacementStyleValue.cpp LibWeb/CSS: Absolutize grid-related StyleValues 2025-11-19 23:45:52 +00:00
GridTrackPlacementStyleValue.h LibWeb/CSS: Absolutize grid-related StyleValues 2025-11-19 23:45:52 +00:00
GridTrackSizeListStyleValue.cpp LibWeb/CSS: Absolutize grid-related StyleValues 2025-11-19 23:45:52 +00:00
GridTrackSizeListStyleValue.h LibWeb/CSS: Absolutize grid-related StyleValues 2025-11-19 23:45:52 +00:00
GuaranteedInvalidStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
HSLColorStyleValue.cpp LibWeb+LibGfx: Move CSS sRGB color serialization function to LibGfx 2025-10-26 18:55:22 +01:00
HSLColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
HWBColorStyleValue.cpp LibWeb+LibGfx: Move CSS sRGB color serialization function to LibGfx 2025-10-26 18:55:22 +01:00
HWBColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
ImageStyleValue.cpp Everywhere: Avoid large rebuilds when editing (Immutable)Bitmap headers 2025-11-28 18:32:48 +01:00
ImageStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
IntegerStyleValue.cpp LibWeb: Include PropertyID.h in fewer header files 2025-10-27 14:50:54 +00:00
IntegerStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
KeywordStyleValue.cpp LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
KeywordStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
LabLikeColorStyleValue.cpp LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LabLikeColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LCHLikeColorStyleValue.cpp LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LCHLikeColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LengthStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
LengthStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
LightDarkStyleValue.cpp LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LightDarkStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
LinearGradientStyleValue.cpp LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
LinearGradientStyleValue.h LibWeb/CSS: Absolutize GradientStyleValues 2025-12-01 11:01:06 +00:00
MathDepthStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
MathDepthStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
NumberStyleValue.cpp LibWeb: Include PropertyID.h in fewer header files 2025-10-27 14:50:54 +00:00
NumberStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
OpenTypeTaggedStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
OpenTypeTaggedStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
PendingSubstitutionStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
PercentageStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
PositionStyleValue.cpp LibWeb: Properly serialize position/edge style values 2024-12-13 11:35:38 +00:00
PositionStyleValue.h LibWeb: Add PositionStyleValue::create_computed_center 2025-12-12 12:20:16 +00:00
RadialGradientStyleValue.cpp LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
RadialGradientStyleValue.h LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
RadialSizeStyleValue.cpp LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
RadialSizeStyleValue.h LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
RandomValueSharingStyleValue.cpp LibWeb: Support non-fixed <random-value-sharing> 2025-12-01 11:00:33 +00:00
RandomValueSharingStyleValue.h LibWeb: Support non-fixed <random-value-sharing> 2025-12-01 11:00:33 +00:00
RatioStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
RectStyleValue.cpp LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
RectStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
RepeatStyleStyleValue.cpp LibWeb/CSS: Rename background-repeat related symbols to align with spec 2025-08-06 23:09:07 +01:00
RepeatStyleStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ResolutionStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
RGBColorStyleValue.cpp LibWeb+LibGfx: Move CSS sRGB color serialization function to LibGfx 2025-10-26 18:55:22 +01:00
RGBColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
ScrollbarColorStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ScrollbarColorStyleValue.h LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01:00
ScrollbarGutterStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ScrollFunctionStyleValue.cpp LibWeb: Parse scroll() for the animation-timeline CSS property 2025-11-28 13:24:11 +00:00
ScrollFunctionStyleValue.h LibWeb: Parse scroll() for the animation-timeline CSS property 2025-11-28 13:24:11 +00:00
ShadowStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
ShadowStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
ShorthandStyleValue.cpp LibWeb: Simplify serialization of coordinating value list shorthands 2025-12-01 10:16:41 +00:00
ShorthandStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
StringStyleValue.h LibWeb/DOM: Reduce AbstractElement.h's includes 2025-09-11 18:45:35 +02:00
StyleValue.cpp LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
StyleValue.h LibWeb: Make <radal-size> parsing generic 2025-12-12 12:20:16 +00:00
StyleValueList.cpp LibWeb/CSS: Allow unreifiable transform-lists to reify as CSSStyleValues 2025-12-19 14:51:53 +01:00
StyleValueList.h LibWeb/CSS: Implement "subdivide into iterations" for basic StyleValues 2025-11-03 10:21:51 -08:00
SuperellipseStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
SuperellipseStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
TextIndentStyleValue.cpp LibWeb: Parse and propagate extended text-indent property values 2025-11-20 16:02:40 +01:00
TextIndentStyleValue.h LibWeb: Parse and propagate extended text-indent property values 2025-11-20 16:02:40 +01:00
TextUnderlinePositionStyleValue.cpp LibWeb: Parse text-underline-position property 2025-09-15 15:24:20 +01:00
TextUnderlinePositionStyleValue.h LibWeb: Parse text-underline-position property 2025-09-15 15:24:20 +01:00
TimeStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
TransformationStyleValue.cpp LibWeb/CSS: Remove Transformation in favor of TransformationStyleValue 2025-12-19 14:51:53 +01:00
TransformationStyleValue.h LibWeb/CSS: Remove Transformation in favor of TransformationStyleValue 2025-12-19 14:51:53 +01:00
TreeCountingFunctionStyleValue.cpp LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
TreeCountingFunctionStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02:00
UnicodeRangeStyleValue.cpp LibWeb/CSS: Implement UnicodeRangeStyleValue 2025-03-28 09:15:02 +00:00
UnicodeRangeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
UnresolvedStyleValue.cpp LibWeb: Reduce the number of headers CSS Parser.h is included in 2025-11-28 16:15:49 +00:00
UnresolvedStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01:00
URLStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ViewFunctionStyleValue.cpp LibWeb: Parse view() for the animation-timeline CSS property 2025-11-28 13:24:11 +00:00
ViewFunctionStyleValue.h LibWeb: Parse view() for the animation-timeline CSS property 2025-11-28 13:24:11 +00:00