v130 · css
Full and unprefixed box-decoration-break support
Support box-decoration-break:clone both for inline fragmentation (line layout) and block fragmentation (pagination for printing, multicol).
concepts
-
clone vs slice toggle
Inline fragmentation (line wrap) and multi-column fragmentation. Toggle
slice/cloneand watch the highlight wrap across lines and the multi-column block break across columns. -
Paginated print preview
The Chrome 130-specific win: block fragmentation for printing. A multi-page receipt-style block, rendered side-by-side in legacy
sliceand Chrome 130clonemode, with full per-page borders, padding, and shadows inclone. -
Inline fragment gallery
Four layouts where the prefix-vs-unprefixed difference matters: line-wrapped inline spans, multi-column flow, ruby-glossed text, and wrapped list-item labels. Side-by-side render shows slice next to clone, with a written verdict for each layout type.
-
Border-radius on inline spans
Toggle between
cloneandsliceon a multi-line inline span withborder-radius. The most visually striking difference: clone gives each line fragment its own fully-rounded pill; slice cuts the single box at line breaks. -
Gradient Span
Four inline highlight styles — gradient fill, pill, marker underlay, and outlined border — each using
box-decoration-break: cloneso wrapped fragments get their own complete decoration. Toggle betweencloneandsliceto see exactly where each style breaks at line-wrap boundaries.
why it shipped
The box-decoration-break: clone CSS property is a useful feature because it addresses a common issue with how box decorations (backgrounds, borders, padding, etc.) are handled when an element is broken across multiple lines, columns, or pages.