ladybird/Libraries/LibWeb/CSS/StyleValues
Callum Law 8e9753eadb LibWeb: Correctly compute consistent type when simplifying hypot
Previously we would never get a valid `consistent_type` as we were
trying to make the node types consistent with the initial empty type
which isn't possible.

Gains us 7 WPT tests.
2025-06-30 14:53:04 +02: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
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: Correctly compute consistent type when simplifying hypot 2025-06-30 14:53:04 +02:00
CalculatedStyleValue.h LibWeb/CSS: Link CalculationContext to new spec definition 2025-06-17 12:38:27 +01:00
ColorFunctionStyleValue.cpp LibWeb: Resolve absolute calc() values in color functions 2025-04-22 12:20:26 +02:00
ColorFunctionStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
ColorMixStyleValue.cpp LibWeb: Implement the color-mix() function 2025-04-22 12:19:51 +02:00
ColorMixStyleValue.h LibWeb: Implement the color-mix() function 2025-04-22 12:19:51 +02: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: Implement serialization of lch-like color values 2025-04-20 16:51:20 +02:00
CSSColorValue.h LibWeb: Implement the color-mix() function 2025-04-22 12:19:51 +02:00
CSSHSL.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
CSSHSL.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSHWB.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
CSSHWB.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSKeywordValue.cpp LibWeb: Avoid changing button border color on disable/hover 2025-04-30 20:13:14 +01:00
CSSKeywordValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSLabLike.cpp LibWeb: Implement serialization of lab-like color values 2025-04-20 16:51:20 +02:00
CSSLabLike.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSLCHLike.cpp LibWeb: Implement serialization of lch-like color values 2025-04-20 16:51:20 +02:00
CSSLCHLike.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSLightDark.cpp AK+Everywhere: Rename verify_cast to as 2025-01-21 11:34:06 -05:00
CSSLightDark.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSNumericValue.h
CSSRGB.cpp LibWeb: Skip dynamic_cast in CSSRGB after we already did a type check 2025-04-18 14:45:56 +02:00
CSSRGB.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
CSSUnitValue.h
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: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06: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 LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper 2025-06-01 23:22:10 +02:00
FilterValueListStyleValue.h LibGfx+LibWeb: Turn Gfx::Filter into a SkImageFilter wrapper 2025-06-01 23:22:10 +02: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: Implement guaranteed-invalid value 2025-05-14 11:46:47 +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: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
IntegerStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06: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: Add mode flag to CSSStyleValue::to_string() 2024-12-07 08:31:03 +00:00
NumberStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06: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: Implement pending-substitution value 2025-05-14 11:46:47 +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: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06: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: Serialize grid/grid-template as "none" when applicable 2025-06-16 12:37:40 +01:00
ShorthandStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
StringStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
StyleValueList.cpp LibWeb/CSS: Let CSSStyleValue know its CSSStyleSheet 2025-04-15 09:54:35 +01:00
StyleValueList.h LibWeb/CSS: Let CSSStyleValue know its CSSStyleSheet 2025-04-15 09:54:35 +01:00
TimeStyleValue.h LibWeb/CSS: Make dimension types serialize in resolved form 2025-05-17 07:53:24 +01:00
TransformationStyleValue.cpp LibWeb: Support parsing and serializing 3D translate values 2025-04-30 19:36:56 +02: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: Stub out a function for serializing ComponentValue sequences 2025-05-23 10:17:58 +01:00
UnresolvedStyleValue.h LibWeb: Make storage of CSS::StyleValues const-correct 2025-04-16 10:41:44 -06:00
URLStyleValue.h LibWeb/CSS: Use CSS::URL for <url> and <paint> types 2025-04-30 17:38:38 +01:00