ladybird/Userland/Libraries/LibWeb/Painting
Aliaksandr Kalenik 9968c9f7a6 LibWeb: Fix hit-testing by excluding CSS transform from clip rect check
Transforms are applied to both clip rectangle and position, so we need
to remove the transform from clip rectangle before checking if position
falls within the clip rectangle.

In this change, the removal of transform is moved into
`Paintable::clip_rect()` that is shared between hit-testing and
painting.

This change fixes hit-testing in Discord's multifactor authentication
form.
2024-02-22 07:36:20 +01:00
..
AudioPaintable.cpp
AudioPaintable.h
BackgroundPainting.cpp LibWeb: Paint 1x1 backgrounds as color fill instead of tiling bitmap 2024-01-01 15:16:58 +01:00
BackgroundPainting.h
BorderPainting.cpp LibWeb: Resolve border radius during layout and save it in paintables 2023-12-07 10:52:47 +01:00
BorderPainting.h LibWeb: Resolve border radius during layout and save it in paintables 2023-12-07 10:52:47 +01:00
BorderRadiiData.cpp LibWeb: Move clip rect calculation to happen before painting 2024-01-28 08:25:28 +01:00
BorderRadiiData.h LibWeb: Account for all clipped border radii in containing block chain 2024-02-11 08:12:31 +01:00
BorderRadiusCornerClipper.cpp LibWeb: Check if corners have radius after converting to device pixels 2024-01-15 15:21:17 +01:00
BorderRadiusCornerClipper.h LibWeb: Move border radius sampling config preparation into a function 2023-12-17 23:12:48 +01:00
BordersData.cpp
BordersData.h
ButtonPaintable.cpp LibWeb: Shift button paintable clip rectangle by scroll offset 2024-02-06 13:06:16 +01:00
ButtonPaintable.h
CanvasPaintable.cpp
CanvasPaintable.h
CheckBoxPaintable.cpp
CheckBoxPaintable.h
ClipFrame.h LibWeb: Account for all clipped border radii in containing block chain 2024-02-11 08:12:31 +01:00
Command.cpp LibWeb+WebContent: Separate painting command list from RecordingPainter 2024-02-18 18:45:25 +01:00
Command.h LibWeb+WebContent: Separate painting command list from RecordingPainter 2024-02-18 18:45:25 +01:00
CommandExecutorCPU.cpp LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
CommandExecutorCPU.h LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
CommandExecutorGPU.cpp LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
CommandExecutorGPU.h LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
CommandList.cpp LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
CommandList.h LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
FilterPainting.cpp
FilterPainting.h
GradientData.h
GradientPainting.cpp
GradientPainting.h
ImagePaintable.cpp LibWeb: Generalize ImageBox and ImagePaintable for any ImageProvider 2024-02-19 11:07:30 +01:00
ImagePaintable.h
InlinePaintable.cpp LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
InlinePaintable.h LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
InputColors.h
LabelablePaintable.cpp LibWeb: Use paintable to represent event tracking node 2024-01-15 09:00:35 +01:00
LabelablePaintable.h
LinearGradientData.h
MarkerPaintable.cpp LibWeb: Don't pass StringView to RecordingPainter, to avoid copy 2023-12-27 11:41:15 +01:00
MarkerPaintable.h
MediaPaintable.cpp LibWeb: Use paintable to represent event tracking node 2024-01-15 09:00:35 +01:00
MediaPaintable.h
NestedBrowsingContextPaintable.cpp LibWeb+WebContent: Move paint recording init into Navigable 2024-01-15 14:33:56 +01:00
NestedBrowsingContextPaintable.h
Paintable.cpp LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
Paintable.h LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
PaintableBox.cpp LibWeb: Fix hit-testing by excluding CSS transform from clip rect check 2024-02-22 07:36:20 +01:00
PaintableBox.h LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
PaintableFragment.cpp LibWeb: Avoid expensive containing_block lookups in PaintableFragment 2024-01-27 14:31:47 +01:00
PaintableFragment.h LibWeb: Fix invalidation of CSS properties that do not affect layout 2024-02-03 09:28:03 +01:00
PaintContext.cpp
PaintContext.h LibWeb: Move clip rect calculation to happen before painting 2024-01-28 08:25:28 +01:00
PaintOuterBoxShadowParams.h
RadioButtonPaintable.cpp
RadioButtonPaintable.h
RecordingPainter.cpp LibWeb+WebContent: Separate painting command list from RecordingPainter 2024-02-18 18:45:25 +01:00
RecordingPainter.h LibWeb+WebContent: Separate painting command list from RecordingPainter 2024-02-18 18:45:25 +01:00
ShadowData.h
ShadowPainting.cpp LibWeb: Scale font per-glyph in paint_text_shadow() 2024-01-13 12:03:32 +01:00
ShadowPainting.h LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
StackingContext.cpp LibWeb: Avoid infinite recursion when hit testing SVGs 2024-02-18 18:33:11 +01:00
StackingContext.h LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
SVGGraphicsPaintable.cpp LibWeb+WebContent: Remove "Painting" prefix from command executor names 2024-02-18 18:45:25 +01:00
SVGGraphicsPaintable.h
SVGPaintable.cpp
SVGPaintable.h
SVGPathPaintable.cpp LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
SVGPathPaintable.h LibWeb: Change StackingContext::hit_test() to accept callback 2024-02-14 06:56:22 +01:00
SVGSVGPaintable.cpp LibWeb: Shift SVG paintable clip rectangle by scroll offset 2024-02-06 13:06:16 +01:00
SVGSVGPaintable.h
TableBordersPainting.cpp
TableBordersPainting.h
TextPaintable.cpp LibWeb: Use paintable to represent event tracking node 2024-01-15 09:00:35 +01:00
TextPaintable.h LibWeb: Resolve text-decoration-thickness during layout commit 2024-01-26 07:36:40 +01:00
VideoPaintable.cpp
VideoPaintable.h
ViewportPaintable.cpp LibWeb: Resolve outline CSS property before paint commands recording 2024-02-12 13:38:24 +01:00
ViewportPaintable.h LibWeb: Optimize scroll offset and clip state recalculation 2024-02-09 16:45:44 +01:00