ladybird/Libraries/LibWeb/CSS/StyleValues
Callum Law 073d10c6d1 LibWeb: Clamp dimension percentage values to the specified percentage
Previously we would clamp the percentage value to the allowed range for
canonical dimension values rather than the percentage value.

Also fixes an issue where we would clamp pure percentages (i.e.
percentages that don't have a hint) against the allowed values for the
first dimension we checked (i.e. angle)
2025-09-19 10:06:33 +01:00
..
AbstractImageStyleValue.cpp LibWeb/CSS: Implement CSSImageValue and reify images as it 2025-09-15 08:47:10 +01:00
AbstractImageStyleValue.h LibWeb/CSS: Implement CSSImageValue and reify images as it 2025-09-15 08:47:10 +01: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/CSS: Use LengthPercentageOrAuto for background sizes 2025-09-04 13:31:24 +01:00
BackgroundSizeStyleValue.h LibWeb/CSS: Use LengthPercentageOrAuto for background sizes 2025-09-04 13:31:24 +01:00
BasicShapeStyleValue.cpp LibWeb: Make LengthBox hold LengthPercentageOrAuto 2025-09-04 13:31:24 +01: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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
BorderRadiusStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CalculatedStyleValue.cpp LibWeb: Clamp dimension percentage values to the specified percentage 2025-09-19 10:06:33 +01:00
CalculatedStyleValue.h LibWeb: Support interpolation of CalculatedStyleValue 2025-09-08 11:58:44 +01:00
ColorFunctionStyleValue.cpp LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01:00
ColorFunctionStyleValue.h LibWeb/CSS: Rename CSSColorValue -> ColorStyleValue 2025-08-08 15:19:03 +01: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
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/CSS: Rename color style value types 2025-08-08 15:19:03 +01: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
CounterDefinitionsStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CursorStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
CustomIdentStyleValue.cpp LibWeb/CSS: Reify idents as CSSKeywordValue 2025-08-21 10:21:54 +01:00
CustomIdentStyleValue.h LibWeb/CSS: Reify idents as CSSKeywordValue 2025-08-21 10:21:54 +01:00
DimensionStyleValue.cpp LibWeb/CSS: Reify numbers, dimensions and percentages as CSSUnitValue 2025-08-22 09:48:30 +01:00
DimensionStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
DisplayStyleValue.cpp
DisplayStyleValue.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00
EasingStyleValue.cpp LibWeb: Use correct SerializationMode when serializing CalculatedOr 2025-08-06 17:44:12 +01:00
EasingStyleValue.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06: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: Use correct SerializationMode when serializing CalculatedOr 2025-08-06 17:44:12 +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: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
FontStyleStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
FrequencyStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +02:00
GridAutoFlowStyleValue.cpp
GridAutoFlowStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
GridTemplateAreaStyleValue.cpp
GridTemplateAreaStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
GridTrackPlacementStyleValue.cpp LibWeb: Use correct SerializationMode when serializing CalculatedOr 2025-08-06 17:44:12 +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/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
HSLColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
HWBColorStyleValue.cpp LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
HWBColorStyleValue.h LibWeb/CSS: Rename color style value types 2025-08-08 15:19:03 +01:00
ImageStyleValue.cpp LibWeb: Parse CSS/image URLs using DOMURL::parse 2025-08-08 17:47:51 +01:00
ImageStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
IntegerStyleValue.cpp LibWeb/CSS: Reify numbers, dimensions and percentages as CSSUnitValue 2025-08-22 09:48:30 +01:00
IntegerStyleValue.h LibWeb/CSS: Reify numbers, dimensions and percentages as CSSUnitValue 2025-08-22 09:48:30 +01:00
KeywordStyleValue.cpp LibWeb/CSS: Reify idents as CSSKeywordValue 2025-08-21 10:21:54 +01:00
KeywordStyleValue.h LibWeb/CSS: Reify idents as CSSKeywordValue 2025-08-21 10:21:54 +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/CSS: Remove the "Auto" type from Length 2025-09-04 13:31:24 +01:00
LengthStyleValue.h LibWeb/CSS: Return unit names as FlyStrings 2025-09-12 13:45:41 +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/CSS: Reify numbers, dimensions and percentages as CSSUnitValue 2025-08-22 09:48:30 +01:00
NumberStyleValue.h LibWeb/CSS: Reify numbers, dimensions and percentages as CSSUnitValue 2025-08-22 09:48:30 +01:00
OpenTypeTaggedStyleValue.cpp
OpenTypeTaggedStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01: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
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
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/CSS: Rename color style value types 2025-08-08 15:19:03 +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 include spread distance when serializing text-shadow 2025-09-18 15:21:22 +01:00
ShadowStyleValue.h LibWeb: Don't include spread distance when serializing text-shadow 2025-09-18 15:21:22 +01:00
ShorthandStyleValue.cpp LibWeb: Convert font-width percentages to keywords when serializing font 2025-09-19 10:06:33 +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: Use compute_font_weight for font-weight descriptor 2025-09-19 10:06:33 +01:00
StyleValue.h LibWeb: Use compute_font_weight for font-weight descriptor 2025-09-19 10:06:33 +01:00
StyleValueList.cpp LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
StyleValueList.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +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: Define and use serialize_a_number() 2025-08-18 16:52:39 +01:00
TransformationStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
TransitionStyleValue.cpp
TransitionStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
UnicodeRangeStyleValue.cpp
UnicodeRangeStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00
UnresolvedStyleValue.cpp LibWeb/CSS: Reify UnresolvedStyleValue as CSSUnparsedValue 2025-08-21 10:21:54 +01:00
UnresolvedStyleValue.h LibWeb/CSS: Reify UnresolvedStyleValue as CSSUnparsedValue 2025-08-21 10:21:54 +01:00
URLStyleValue.h LibWeb: Move and rename CSSStyleValue to StyleValues/StyleValue.{h,cpp} 2025-08-08 15:19:03 +01:00