ladybird/Userland/Libraries/LibWeb/CSS/StyleValues
Aliaksandr Kalenik 67d68eac64 LibWeb: Save "background-clip: text" mask as a nested display list
Before this change, "background-clip: text" was implemented by saving a
Vector<Gfx::Path> of all glyphs needed to paint a mask for the
background. The issue with this approach was that once glyphs were
extracted into vector paths, the glyph rasterization cache could no
longer be utilized.

With this change, all text required for mask painting is saved in a
nested display list and rasterized as a regular text.
2024-07-25 14:33:33 +02:00
..
AbstractImageStyleValue.h LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02: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
BasicShapeStyleValue.cpp LibWeb: Add BasicShapeStyleValue to represent CSS basic shapes 2024-05-26 07:55:50 +02:00
BasicShapeStyleValue.h LibWeb: Add BasicShapeStyleValue to represent CSS basic shapes 2024-05-26 07:55:50 +02: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: Fix vector OOB access when comparing some calc() values 2024-01-27 17:06:43 +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: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02:00
ConicGradientStyleValue.h LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02: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/CSS: Avoid capturing structured binding in generic lambda 2024-06-19 12:46:27 +02:00
EasingStyleValue.h LibWeb: Run clang-format 2024-06-16 15:30:28 -04: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/DOM: Rename link_color to normal_link_color 2024-04-19 10:58:45 +02:00
IdentifierStyleValue.h LibWeb: Deduplicate "ident is color" check 2023-08-25 20:30:20 +01:00
ImageStyleValue.cpp LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02:00
ImageStyleValue.h LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02: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 LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02:00
LinearGradientStyleValue.h LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02: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: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02:00
RadialGradientStyleValue.h LibWeb: Save "background-clip: text" mask as a nested display list 2024-07-25 14:33:33 +02: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
ScrollbarGutterStyleValue.h LibWeb: Implement support for scrollbar-gutter 2024-07-04 13:22:40 +02:00
ShadowStyleValue.cpp LibWeb: Properly serialize shadow colors 2024-03-03 19:50:25 +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/CSS: Make StringStyleValue hold a FlyString 2024-07-17 15:08:44 +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/CSS: Serialize transform scale percentage values as numbers 2024-07-04 14:41:35 +02:00
TransformationStyleValue.h LibWeb: Make StyleValue::to_string() infallible 2023-08-22 17:51:48 +01:00
TransitionStyleValue.cpp LibWeb: Parse transition style values 2024-03-29 21:58:12 +01:00
TransitionStyleValue.h LibWeb: Fix crash for calculated transition duration/delays 2024-04-06 19:35:27 +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 AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00