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
Copy file name to clipboardExpand all lines: css-gaps-1/Overview.bs
+36-5Lines changed: 36 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,17 @@ Gap decorations</h2>
169
169
note that while the border and background of the container aren't scrolled,
170
170
the decorations need to scroll along with items in the container.
171
171
172
+
[=Gap decorations=] follow the definitions of "column" and "row" laid out by the container to which the properties are applied.
173
+
They depend on the container type taking writing mode and text direction into account when determining the meanings of these terms.
174
+
For examples, see:
175
+
[[CSS-MULTICOL-2#the-multi-column-model]],
176
+
[[CSS-FLEXBOX-1#flex-direction-property]],
177
+
and
178
+
[[CSS-GRID-1#grid-concepts]].
179
+
180
+
Properties in this specification whose names begin with "column" apply to [=column gaps=],
181
+
and properties in this specification whose names begin with "row" apply to [=row gaps=].
182
+
172
183
<!--
173
184
<div class="example">
174
185
<pre>
@@ -227,8 +238,8 @@ Segment endpoints</h4>
227
238
may start or end.
228
239
There are two endpoint types:
229
240
<ul>
230
-
<li><dfn>start segment endpoint</dfn>: Point at which a segment begins.
231
-
<li><dfn>end segment endpoint</dfn>: Point at which a segment ends.
241
+
<li><dfn>start segment endpoint</dfn>: Point closest to the [=start=] side of the [=gap=].
242
+
<li><dfn>end segment endpoint</dfn>: Point closest to the [=end=] side of the [=gap=].
232
243
</ul>
233
244
234
245
<div algorithm="create segment endpoints">
@@ -851,7 +862,7 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
851
862
<dd>
852
863
The [=crossing gap width=] is the size of the [=gap junction=]
853
864
in the same dimension as the [=gap=] in which the [=segment endpoint=] lies
854
-
(the horizontal dimension for row gaps and the vertical dimension for column gaps).
865
+
(the row dimension for [=row gaps=] and the column dimension for [=column gaps=]).
855
866
856
867
Note: Typically, this will be the used value of the 'column-gap' or 'row-gap' property,
857
868
whichever applies to the intersecting or abutting gap,
@@ -864,14 +875,31 @@ Adjusting gap decoration endpoints: The 'rule-inset' properties</h3>
864
875
<p>
865
876
The 'column-rule-edge-inset-start' and 'row-rule-edge-inset-start' properties apply to [=start segment endpoints=] that are [=edge segment endpoints=].
866
877
The 'column-rule-interior-inset-start' and 'row-rule-interior-inset-start' properties apply to [=start segment endpoints=] that are [=interior segment endpoints=].
867
-
For these properties, positive values offset in the forward direction, and negative values offset in the reverse direction, along the axis of the gap.
878
+
For these properties, positive values offset in the [=end=] direction, and negative values offset in the [=start=] direction, along the axis of the gap.
868
879
</p>
869
880
<p>
870
881
The 'column-rule-edge-inset-end' and 'row-rule-edge-inset-end' properties apply to [=end segment endpoints=] that are [=edge segment endpoints=].
871
882
The 'column-rule-interior-inset-end' and 'row-rule-interior-inset-end' properties apply to [=end segment endpoints=] that are [=interior segment endpoints=].
872
-
For these properties, positive values offset in the reverse direction, and negative values offset in the forward direction, along the axis of the gap.
883
+
For these properties, positive values offset in the [=start=] direction, and negative values offset in the [=end=] direction, along the axis of the gap.
0 commit comments