ladybird/Userland/Libraries/LibWeb/CSS/StyleValues
Andreas Kling 5b7a8891a6 LibWeb: Implement calc() value equality check in a more efficient way
Instead of serializing two calc() values to String and then comparing
those strings, we can now compare calc() values by actually traversing
their internal CalculationNode tree.

This makes style recomputation faster on pages with lots of calc()
values since it's now much cheaper to check whether a property with
some calc() value actually changed.
2024-01-09 14:15:27 +01:00
..
AbstractImageStyleValue.h LibWeb: Paint 1x1 backgrounds as color fill instead of tiling bitmap 2024-01-01 15:16:58 +01:00
AngleStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
AngleStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
BackgroundRepeatStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
BackgroundRepeatStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
BackgroundSizeStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
BackgroundSizeStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
BorderRadiusStyleValue.cpp LibWeb/CSS: Fix crashing when calc() is used for border-radius 2024-01-01 10:12:20 +01:00
BorderRadiusStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
CalculatedStyleValue.cpp LibWeb: Implement calc() value equality check in a more efficient way 2024-01-09 14:15:27 +01:00
CalculatedStyleValue.h LibWeb: Implement calc() value equality check in a more efficient way 2024-01-09 14:15:27 +01:00
ColorStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ColorStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ConicGradientStyleValue.cpp LibWeb: Store ConicGradientStyleValue's position as PositionStyleValue 2023-11-07 22:00:24 +00:00
ConicGradientStyleValue.h LibWeb: Store ConicGradientStyleValue's position as PositionStyleValue 2023-11-07 22:00:24 +00:00
ContentStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ContentStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
CustomIdentStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
DisplayStyleValue.cpp LibWeb: Make StyleValue constructors infallible 2023-08-19 17:34:22 +02:00
DisplayStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
EasingStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
EasingStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
EdgeStyleValue.cpp LibWeb: Use generated to_string() function for EdgeStyleValue edge 2023-11-07 22:00:24 +00:00
EdgeStyleValue.h LibWeb: Adapt parse_position() into parse_position_value() 2023-11-07 22:00:24 +00:00
FilterValueListStyleValue.cpp LibWeb: Resolve backdrop filter length in apply_style() 2023-10-12 07:38:48 +02:00
FilterValueListStyleValue.h LibWeb: Resolve backdrop filter length in apply_style() 2023-10-12 07:38:48 +02:00
FlexStyleValue.h LibWeb: Implement Flex and FlexStyleValue types 2023-09-28 20:33:20 +01:00
FrequencyStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridAutoFlowStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridAutoFlowStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTemplateAreaStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTemplateAreaStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTrackPlacementStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTrackPlacementStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTrackSizeListStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
GridTrackSizeListStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
IdentifierStyleValue.cpp LibWeb: Make Document::page() return a Page& 2023-12-15 22:04:46 +01:00
IdentifierStyleValue.h LibWeb: Deduplicate "ident is color" check 2023-08-25 20:30:20 +01:00
ImageStyleValue.cpp LibWeb: Paint 1x1 backgrounds as color fill instead of tiling bitmap 2024-01-01 15:16:58 +01:00
ImageStyleValue.h LibWeb: Paint 1x1 backgrounds as color fill instead of tiling bitmap 2024-01-01 15:16:58 +01:00
InheritStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
InitialStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
IntegerStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
IntegerStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
LengthStyleValue.cpp LibWeb: Make absolutizing StyleValues infallible 2023-08-19 17:34:22 +02:00
LengthStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
LinearGradientStyleValue.cpp AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
LinearGradientStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
MathDepthStyleValue.cpp LibWeb: Implement the math-depth CSS property 2023-09-11 17:03:22 +01:00
MathDepthStyleValue.h LibWeb: Implement the math-depth CSS property 2023-09-11 17:03:22 +01:00
NumberStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
NumberStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
PercentageStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
PositionStyleValue.cpp LibWeb: Add some helpers to PositionStyleValue 2023-11-07 22:00:24 +00:00
PositionStyleValue.h LibWeb: Add some helpers to PositionStyleValue 2023-11-07 22:00:24 +00:00
RadialGradientStyleValue.cpp LibWeb: Store RadialGradientStyleValue's position as PositionStyleValue 2023-11-07 22:00:24 +00:00
RadialGradientStyleValue.h LibWeb: Store RadialGradientStyleValue's position as PositionStyleValue 2023-11-07 22:00:24 +00:00
RatioStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
RectStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
RectStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ResolutionStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
RevertStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ShadowStyleValue.cpp LibWeb: Remove some to_deprecated_string() calls in the CSS code 2023-12-01 20:48:13 +01:00
ShadowStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
ShorthandStyleValue.cpp LibWeb: Fill out font property data 2023-09-26 21:19:42 +02:00
ShorthandStyleValue.h LibWeb: Replace FlexStyleValue with ShorthandStyleValue 2023-09-20 12:17:16 +01:00
StringStyleValue.h LibWeb: Serialize StringStyleValue with quotes 2023-09-12 14:29:21 +01:00
StyleValueList.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
StyleValueList.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
TimeStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
TransformationStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
TransformationStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
UnresolvedStyleValue.cpp LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
UnresolvedStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
UnsetStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
URLStyleValue.h LibWeb: Remove some to_deprecated_string() calls in the CSS code 2023-12-01 20:48:13 +01:00