mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibWeb: Snap table grid to device pixels in separate borders mode
Build a grid snapped to device pixels and use it to construct the rectangles for the cell edges, same as for collapsed borders. This is especially important when border-spacing is set to 0 since it avoids gaps between adjacent cells which have borders set.
This commit is contained in:
parent
14091f32c6
commit
7bd00d6a42
7 changed files with 49 additions and 29 deletions
|
@ -10,6 +10,6 @@
|
|||
|
||||
namespace Web::Painting {
|
||||
|
||||
void paint_table_collapsed_borders(PaintContext&, Layout::Node const&);
|
||||
void paint_table_borders(PaintContext&, Layout::Node const&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue