1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:57:35 +00:00
serenity/Userland/Libraries/LibWeb/Painting
Andi Gallo f544132fe8 LibWeb: Some improvements for painting of collapsed table borders
Follow the specification in making the borders centered on the grid
lines. This avoids visual bugs due to double-rendering of borders on
either side of an edge and paves the way for a full implementation of
the harmonization algorithm for collapsed borders.

Currently, this still lacks complete handling of row and column spans.
Also, the box model for cells still considers the full width of the
internal borders instead of just half, as the specification requires.
Some additional handling of rounding issues will be needed to avoid very
subtle visual bugs.

Despite these limitations, this improves the appearance of all the
tables with collapsed borders I've tried while limiting the amount of
change to something reasonable.
2023-07-06 10:31:51 +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 LibWeb: Convert background painting to new pixel units 2022-12-14 16:47:57 +00:00
BorderPainting.cpp LibWeb: Make two borders joints part painting work 2023-06-28 10:08:09 +01:00
BorderPainting.h LibWeb: Remove now-unused includes from StyleValue.cpp 2023-03-25 16:56:04 +00:00
BorderRadiusCornerClipper.cpp LibGfx+Everywhere: Change Gfx::Rect to be endpoint exclusive 2023-05-23 12:35:42 +02:00
BorderRadiusCornerClipper.h LibWeb: Convert border painting to new pixel units 2022-12-14 16:47:57 +00:00
ButtonPaintable.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
ButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CanvasPaintable.cpp LibWeb: Use box sampling instead of bilinear scaling when downscaling 2023-05-19 18:36:36 +02:00
CanvasPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
CheckBoxPaintable.cpp LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
CheckBoxPaintable.h LibWeb: Add scaleable checkboxes (with theme/accent-color support) 2023-03-23 08:27:51 +00:00
FilterPainting.cpp Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
FilterPainting.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
GradientPainting.cpp LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
GradientPainting.h LibJS+LibWeb: Add a bunch of missing includes 2023-03-06 13:05:43 +00:00
ImagePaintable.cpp LibWeb: Have ImageProvider bitmap getter take optional size argument 2023-05-21 07:44:29 +02:00
ImagePaintable.h LibWeb: Move image viewport awareness from ImageBox to ImagePaintable 2023-05-09 09:48:49 +02:00
InlinePaintable.cpp LibWeb: Add support for inset shadows 2023-06-07 10:14:21 +02:00
InlinePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
InputColors.h LibWeb: Move checkbox color palette computation to helper header 2023-03-24 09:57:48 +00:00
LabelablePaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
LabelablePaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
MarkerPaintable.cpp LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
MarkerPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
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 LibWeb: Use device pixels to translate NestedBrowsingContextPaintable 2023-04-20 20:44:02 +02:00
NestedBrowsingContextPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
Paintable.cpp LibWeb: Fix a few const-ness issues 2023-03-06 13:05:43 +00:00
Paintable.h LibWeb/Painting: Remove redundant 'Painting::' namespace prefixes 2023-04-20 20:43:30 +02:00
PaintableBox.cpp LibWeb: Use PaintContext::would_be_fully_clipped_by_painter() everywhere 2023-06-20 06:58:47 +02:00
PaintableBox.h LibWeb: Store table cell indices and spans in PaintableBox 2023-07-06 10:31:51 +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 LibGfx+Userland: Merge FrameShape and FrameShadow into FrameStyle 2023-04-30 05:49:46 +02:00
ProgressPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
RadioButtonPaintable.cpp LibWeb: Add scalable radio buttons (with theme/accent-color support) 2023-03-24 09:57:48 +00:00
RadioButtonPaintable.h LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
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: Some improvements for painting of collapsed table borders 2023-07-06 10:31:51 +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 LibWeb: Use (transformed) path bounding quad for SVG path hit testing 2023-04-12 07:40:22 +02:00
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 LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
SVGTextPaintable.cpp LibWeb: Remove SVGContext 2023-07-02 01:31:18 +02:00
SVGTextPaintable.h LibWeb: Implement painting for svg text 2023-06-09 17:20:34 +02:00
TableBordersPainting.cpp LibWeb: Some improvements for painting of collapsed table borders 2023-07-06 10:31:51 +02:00
TableBordersPainting.h LibWeb: Some improvements for painting of collapsed table borders 2023-07-06 10:31:51 +02:00
TextPaintable.cpp LibWeb: Make the paint tree GC-allocated 2023-01-11 12:55:00 +01:00
TextPaintable.h LibWeb: Make a handful of paintable leaf classes final 2023-01-11 14:03:25 +01:00
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