Skip to content

Commit fe618a2

Browse files
committed
[css-align] Make 'normal' compute to zero except on multicol.
1 parent d935c6c commit fe618a2

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

css-align/Overview.bs

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ The 'column-gap', 'row-gap', and 'gap' Properties</h3>
16091609
Inherited: no
16101610
Percentages: refer to corresponding dimension of the content area
16111611
Media: visual
1612-
Computed value: as specified, with <<length>>s made absolute
1612+
Computed value: as specified, with <<length>>s made absolute, and''row-gap/normal'' computing to zero except on <a>multi-column elements</a>
16131613
Animatable: as length, percentage, or calc
16141614
</pre>
16151615

@@ -1642,13 +1642,11 @@ The 'column-gap', 'row-gap', and 'gap' Properties</h3>
16421642
Negative values are invalid.
16431643

16441644
: <dfn>normal</dfn>
1645-
:: The ''gap/normal'' value is identical to some <<length-percentage>>,
1646-
but precisely which value depends on the layout mode,
1647-
and is sometimes UA-dependent;
1648-
see subsections below for details.
1649-
</dl>
1645+
:: The ''gap/normal'' represents a UA-dependent length on <a>multi-column elements</a>,
1646+
and computes to ''0px'' in all other contexts.
16501647

1651-
Note: In addition to the [=gutters=] defined by these properties,
1648+
Issue: Should ''gap/normal'' just compute to ''1em'' in multicol?
1649+
</dl>
16521650

16531651

16541652
<h4 id='gap-multicol'>
@@ -1657,19 +1655,13 @@ Multicol Containers</h4>
16571655
'column-gap' specifes the [=gutter=] between adjacent <a>column boxes</a>.
16581656
See [[CSS-MULTICOL-1]] for details on how this affects the layout of multicol elements.
16591657

1660-
The ''gap/normal'' value behaves as a UA-specified length for 'column-gap'.
1661-
It's suggested that this be equal to ''1em''.
1662-
16631658
Multicol does not currently use 'row-gap'.
1664-
For it, ''gap/normal'' behaves as ''0''.
16651659

16661660
<h4 id='gap-flex'>
16671661
Flex Containers</h4>
16681662

16691663
Issue: TODO define how row-gap/column-gap work between flex items and flex lines.
16701664

1671-
''gap/normal'' behaves as ''0'' for both properties.
1672-
16731665
<h4 id='gap-grid'>
16741666
Grid Containers</h4>
16751667

0 commit comments

Comments
 (0)