CKTIS / CSS
column-rule-break — breaking column gap decorations
The column-rule-break property controls where a column gap decoration splits into segments at gap intersections. It does not change gap sizes or the placement of layout items.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
column-rule-break: none | normal | intersection;column-rule-break controls how column gap decoration segments join. It does not break content into columns. A visible separator also needs a rule style, such as column-rule: 4px solid blue.
none produces one segment along the entire gap. intersection starts and ends segments at visible T and cross intersections. The initial normal breaks at T intersections but continues through cross intersections in Grid; it behaves as none in Flex and as intersection in multicolumn layout. In grid lanes, it follows Grid behavior in the grid axis and behaves as none in the stacking axis.
The property is not inherited, computes as specified, and animates discretely. row-rule-break controls the other direction. With one value, the rule-break shorthand sets both longhands to that value. With two values, it sets row-rule-break to the first and column-rule-break to the second. Endpoint offsets are controlled separately, for example with column-rule-inset.
This is an editor’s-draft feature. Verify the example locally: in the target Chromium 152 build, neither support for the property nor painting of the segments as described has been confirmed.
Examples
<!doctype html>
<meta charset="utf-8">
<title>column-rule-break</title>
<style>
.grid {
display: grid;
grid-template: repeat(2, 60px) / repeat(2, 80px);
gap: 20px;
width: max-content;
column-rule: 4px solid blue;
column-rule-break: intersection;
column-rule-inset: 0;
}
.grid > div { background: #ddd; }
</style>
<div class="grid">
<div>A</div><div>B</div>
<div>C</div><div>D</div>
</div>Result
With rendering support: a 2 × 2 grid with two blue vertical rule segments, each 70px long and 4px wide. With zero endpoint insets, the segments meet at the centerline of the 20px row gap, so the rule appears continuous.
The code for this example and its declared result were verified in an isolated environment. The result describes what browsers display when they support rendering this decoration.