Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

CSS property `row-rule-inset-junction-end`

The `row-rule-inset-junction-end` property moves only the logical end of a segment arriving at a painted junction. A positive `8px` pulls that end toward start, while `row-rule-inset-junction-start` remains at its initial value.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

<inset-value>

The row-rule-inset-junction-end property moves only the logical end of a segment arriving at a painted junction. A positive 8px pulls that end toward start, while row-rule-inset-junction-start remains at its initial value.

The example with row-rule-break:intersection computes the junction shorthand as 0/8. Pixels show the left arm shortened before the blue crossing, while the right arm starts at the junction without extra inset.

Grammar: <inset-value>.

A negative value extends ends toward end. Percentages use crossing-gap width, overlap-join also accounts for half the crossing-rule width, and initial 0 aligns with the segment endpoint. This CSS Gaps Editor’s Draft feature requires @supports.

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;row-rule-break:intersection;row-rule-inset-junction-end:8px}</style><div id="grid"><i></i><i></i><i></i><i></i></div><pre id="result"></pre><script>const s=getComputedStyle(grid),v=[s.rowRuleInsetJunction,s.rowRuleInsetJunctionStart,s.rowRuleInsetJunctionEnd];if(v.join('|')!=='0px 8px|0px|8px')throw new Error('junction-end mismatch '+v);result.textContent='shorthand='+v[0]+'; start/end='+v[1]+'/'+v[2];</script>

Result

shorthand=0px 8px; start/end=0px/8px

The example with `row-rule-break:intersection` computes the junction shorthand as 0/8. Pixels show the left arm shortened before the blue crossing, while the right arm starts at the junction without extra inset.

Sources