You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applies to: <a>grid containers</a>, <a>flex containers</a>, <a>multicol containers</a>, and <a>grid lanes containers</a>
989
989
Inherited: no
990
990
Percentages: refer to the <a>crossing gap width</a>
991
991
Animation type: by computed value type
992
992
</pre>
993
993
994
+
<pre class='prod'>
995
+
<dfn><inset-value></dfn> = <<length-percentage>> | <a value for="<inset-value>">overlap-join</a>
996
+
</pre>
997
+
994
998
These properties can be used to offset the start and end points of <a>gap decorations</a> relative to the
995
999
<a>segment endpoints</a> which would normally determine where decorations start and end.
996
1000
@@ -1097,6 +1101,58 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
1097
1101
For these properties, positive values offset in the [=start=] direction, and negative values offset in the [=end=] direction, along the axis of the gap.
1098
1102
</p>
1099
1103
1104
+
<p>
1105
+
The <dfn value for="<inset-value>">overlap-join</dfn> keyword
1106
+
produces neat joins between [=gap decorations=] that meet at the same [=gap junction=]:
1107
+
</p>
1108
+
1109
+
<ul>
1110
+
<li>
1111
+
At a [=junction segment endpoint=], the [=gap decoration=] extends into the [=gap junction=]
1112
+
by half the [=crossing gap width=], plus half the [=used value=] of the crossing gap's
1113
+
'column-rule-width' or 'row-rule-width' (whichever applies).
1114
+
<li>
1115
+
At a [=cap segment endpoint=], ''<inset-value>/overlap-join'' is treated as ''0''.
Applies to: Same as 'column-rule-inset-cap-start', 'column-rule-inset-junction-start', 'column-rule-inset-cap-end', 'column-rule-inset-junction-end', 'row-rule-inset-cap-start', 'row-rule-inset-junction-start', 'row-rule-inset-cap-end', and 'row-rule-inset-junction-end'
1189
1252
</pre>
1190
1253
@@ -1240,7 +1303,7 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
Applies to: Same as 'column-rule-inset-cap-start', 'column-rule-inset-cap-end', 'column-rule-inset-junction-start', 'column-rule-inset-junction-end', 'row-rule-inset-cap-start', 'row-rule-inset-cap-end', 'row-rule-inset-junction-start', and 'row-rule-inset-junction-end'
1245
1308
</pre>
1246
1309
@@ -2575,6 +2638,8 @@ Changes since the <a href="https://www.w3.org/TR/2026/WD-css-gaps-1-20260227/">2
0 commit comments