ladybird/Userland/Libraries/LibWeb/Painting
Andreas Kling 3ec9fd0aae LibWeb: Resolve calc() values in CSS transform
There are two parts to this fix:

- First, StyleProperties::transformations() would previously omit calc()
  values entirely when returning the list of transformations. This was
  very confusing to StackingContext which then tried to index into the
  list based on faulty assumptions. Fix this by emitting calc values.

- Second, StackingContext::get_transformation_matrix() now always calls
  resolve() on length-percentages. This takes care of actually resolving
  calc() values. If no reference value for percentages is provided, we
  default to 0px.

This stops LibWeb from asserting on websites with calc() in transform
values, such as https://qt.io/ :^)
2023-07-15 11:35:16 +02:00
..
AudioPaintable.cpp LibWeb: Begin implementing the HTMLAudioElement for audio playback 2023-06-13 06:14:01 +02:00
AudioPaintable.h LibWeb: Begin implementing the HTMLAudioElement for audio playback 2023-06-13 06:14:01 +02:00
BackgroundPainting.cpp LibWeb: Prevent double promotion in paint_background 2023-06-27 12:40:38 +02:00
BackgroundPainting.h
BorderPainting.cpp LibWeb: Make two borders joints part painting work 2023-06-28 10:08:09 +01:00
BorderPainting.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
BorderRadiusCornerClipper.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
BorderRadiusCornerClipper.h
ButtonPaintable.cpp
ButtonPaintable.h
CanvasPaintable.cpp LibWeb: Use box sampling instead of bilinear scaling when downscaling 2023-05-19 18:36:36 +02:00
CanvasPaintable.h
CheckBoxPaintable.cpp
CheckBoxPaintable.h
FilterPainting.cpp
FilterPainting.h
GradientPainting.cpp LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
GradientPainting.h
ImagePaintable.cpp LibWeb: Have ImageProvider bitmap getter take optional size argument 2023-05-21 07:44:29 +02:00
ImagePaintable.h
InlinePaintable.cpp LibWeb: Add support for inset shadows 2023-06-07 10:14:21 +02:00
InlinePaintable.h
InputColors.h
LabelablePaintable.cpp
LabelablePaintable.h
MarkerPaintable.cpp LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
MarkerPaintable.h
MediaPaintable.cpp LibWeb: Display the media volume in a tooltip while it is changing 2023-07-03 19:07:26 +02:00
MediaPaintable.h LibWeb: Paint the media timeline above the other media controls 2023-06-22 20:05:19 +02:00
NestedBrowsingContextPaintable.cpp
NestedBrowsingContextPaintable.h
Paintable.cpp LibWeb: Add Paintable::stacking_context_rooted_here() 2023-07-15 07:10:34 +02:00
Paintable.h LibWeb: Paint relatively positioned inline-level elements 2023-07-15 07:10:34 +02:00
PaintableBox.cpp LibWeb: Include scrollable overflow in the "absolute paint rect" 2023-07-13 05:09:08 +02:00
PaintableBox.h LibWeb: Bring measuring of scrollable overflow closer to spec 2023-07-13 05:09:08 +02:00
PaintContext.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
PaintContext.h LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
ProgressPaintable.cpp
ProgressPaintable.h
RadioButtonPaintable.cpp
RadioButtonPaintable.h
ShadowPainting.cpp LibWeb: Fix inset shadow with zero offset and blur 2023-07-01 07:48:33 +02:00
ShadowPainting.h LibWeb: Add support for inset shadows 2023-06-07 10:14:21 +02:00
StackingContext.cpp LibWeb: Resolve calc() values in CSS transform 2023-07-15 11:35:16 +02:00
StackingContext.h LibWeb: Make StackingContext sorting a lot faster 2023-06-02 15:00:38 +02:00
SVGGeometryPaintable.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGGeometryPaintable.h
SVGGraphicsPaintable.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGGraphicsPaintable.h LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGPaintable.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGPaintable.h LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGSVGPaintable.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGSVGPaintable.h
SVGTextPaintable.cpp LibWeb: Print FIXME instead of crashing if fill is url() in svg text 2023-07-13 18:43:21 +02:00
SVGTextPaintable.h LibWeb: Implement painting for svg text 2023-06-09 17:20:34 +02:00
TableBordersPainting.cpp LibWeb: Compute border rectangles using CSSPixels 2023-07-13 11:22:45 +01:00
TableBordersPainting.h LibWeb: Some improvements for painting of collapsed table borders 2023-07-06 10:31:51 +02:00
TextPaintable.cpp
TextPaintable.h
VideoPaintable.cpp LibWeb: Extract media element timeline painting to a base class 2023-06-13 06:14:01 +02:00
VideoPaintable.h LibWeb: Extract media element timeline painting to a base class 2023-06-13 06:14:01 +02:00