CKTIS / CSS
CSS property `row-rule-break`
The `row-rule-break` property decides whether a row-direction gap decoration stays continuous (`none`), ends segments at every visible T and cross intersection (`intersection`), or uses the container-dependent `normal` behavior.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
none | normal | intersectionThe row-rule-break property decides whether a row-direction gap decoration stays continuous (none), ends segments at every visible T and cross intersection (intersection), or uses the container-dependent normal behavior.
The example compares row-rule-break:none with row-rule-break:intersection in two 2×2 grids. Both retain 100×60 geometry, while pixel evidence finds red through the first crossing and the blue crossing rule at the second.
Grammar: none | normal | intersection.
In grid, normal breaks at T intersections but continues through crosses; in flex it behaves as none, in multicol’s row direction it also behaves as none, and intersection splits at both intersection types. This is an evolving Editor’s Draft feature, so production use needs an @supports test and a safe appearance without the decoration.
Examples
<!doctype html><meta charset="utf-8"><style>html,body{margin:0;background:white}.grid{display:grid;grid-template:20px 20px/40px 40px;gap:20px;width:100px;row-rule:4px solid red;column-rule:4px solid blue;position:absolute;top:0}#continuous{left:0;row-rule-break:none}#segmented{left:150px;row-rule-break:intersection}</style><div id="continuous" class="grid"><i></i><i></i><i></i><i></i></div><div id="segmented" class="grid"><i></i><i></i><i></i><i></i></div><pre id="result"></pre><script>const a=getComputedStyle(continuous).rowRuleBreak,b=getComputedStyle(segmented).rowRuleBreak,g=e=>Math.round(e.getBoundingClientRect().width)+'x'+Math.round(e.getBoundingClientRect().height);if(a!=='none'||b!=='intersection'||g(continuous)!=='100x60'||g(segmented)!=='100x60')throw new Error('row-rule-break mismatch '+[a,b,g(continuous),g(segmented)]);result.textContent='computed='+a+'/'+b+'; geometry='+g(continuous)+'/'+g(segmented);</script>Result
computed=none/intersection; geometry=100x60/100x60
The example compares `row-rule-break:none` with `row-rule-break:intersection` in two 2×2 grids. Both retain 100×60 geometry, while pixel evidence finds red through the first crossing and the blue crossing rule at the second.