ladybird/Libraries/LibWeb/CSS/StyleValues
Sam Atkins 61a0898f5f LibWeb/CSS: Stop inserting whitespace when serializing component values
Now that we don't remove whitespace when parsing, we don't need to
artificially insert it back in again when serializing. We do now need
to trim leading and trailing whitespace from UnresolvedStyleValues, as
this previously was done as part of the whitespace insertion.

This makes our serialization of UnresolvedStyleValues more correct and
gets us a few WPT passes for each property in the Typed OM tests.
2025-11-03 11:23:21 +00:00
..
AbstractImageStyleValue.cpp LibWeb/CSS: Store StyleValue pointer instead of string on CSSStyleValue 2025-10-04 22:57:00 +02:00
AbstractImageStyleValue.h LibWeb/CSS: Use FlyString for CSSStyleValue property name 2025-10-02 13:46:04 +01: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+LibGfx: Remove Path::close_all_subpaths() 2025-09-25 21:42:52 +02:00
BasicShapeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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: Properly simplify sum nodes containing negated sum nodes 2025-10-30 12:18:24 +00:00
CalculatedStyleValue.h LibWeb: Include PropertyID.h in fewer header files 2025-10-27 14:50:54 +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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
ConicGradientStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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 LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02: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: Use move() for grid track placement values where possible 2025-09-25 10:34:45 +01:00
GridTrackPlacementStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
GridTrackSizeListStyleValue.cpp LibWeb: Use correct SerializationMode when serializing PercentageOr 2025-08-06 17:44:12 +01:00
GridTrackSizeListStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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 LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02: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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
LinearGradientStyleValue.h LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01: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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
RadialGradientStyleValue.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
RadialGradientStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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
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: Serialize transition as a coordinating list shorthand 2025-10-23 10:09:11 +01: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: Avoid including ComputedProperties.h in Element.h 2025-10-27 14:50:54 +00:00
StyleValue.h LibWeb: Parse transition property as a coordinating list shorthand 2025-10-23 10:09:11 +01:00
StyleValueList.cpp LibWeb: Don't create identical StyleValueList if absolutization is no-op 2025-10-24 08:52:53 +02:00
StyleValueList.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02: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
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: Include PropertyID.h in fewer header files 2025-10-27 14:50:54 +00:00
TransformationStyleValue.h LibWeb: Don't pass unnecessary PropertyComputationDependencies struct 2025-10-22 00:01:30 +02: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/CSS: Stop inserting whitespace when serializing component values 2025-11-03 11:23:21 +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