servo/components/layout_2020
Oriol Brufau d58aa7fc04
layout: Allow different collapsed border style/color within a row/column (#35003)
We were previously using the same style and color for two collapsed
borders sharing a coordinate. Now such a line of collapsed borders can
be piecewise and have different colors and styles.

This still doesn't add support for piecewise border widths.

Also, since we are currently painting borders as part of the table and
cell boxes, and a box side can't have a piecewise border, this patch
only really works when:
 - There aren't spanning cells
 - The table has no assigned border (only the cells and tracks have it)

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-16 11:24:00 +00:00
..
display_list layout: Make Fragment hold ArcRefCell inside (#34923) 2025-01-13 09:59:59 +00:00
flexbox layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
flow layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
fragment_tree layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
table layout: Allow different collapsed border style/color within a row/column (#35003) 2025-01-16 11:24:00 +00:00
taffy layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
tests Update deprecated use of PanicInfo to PanicHookInfo (#34659) 2024-12-17 03:50:26 +00:00
Cargo.toml layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
cell.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
construct_modern.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
context.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
dom.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00
dom_traversal.rs layout: Lay out Shadow DOM elements (#34701) 2024-12-19 19:24:42 +00:00
formatting_contexts.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
geom.rs layout: Allow different collapsed border style/color within a row/column (#35003) 2025-01-16 11:24:00 +00:00
layout_box_base.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
lib.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
lists.rs layout: Add LayoutBoxBase and use it for IndependentFormattingContext (#34507) 2024-12-07 19:12:25 +00:00
positioned.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
query.rs layout: Make Fragment hold ArcRefCell inside (#34923) 2025-01-13 09:59:59 +00:00
replaced.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
sizing.rs layout: Remove the obsolete layout tracing functionality (#35001) 2025-01-15 13:24:14 +00:00
style_ext.rs layout: Make non-normal align-content establish a block formatting context (#34984) 2025-01-15 16:46:37 +00:00
traversal.rs Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00