Skip to content

Commit e4212fd

Browse files
committed
[css-grid] Switch to a dl
1 parent fa91336 commit e4212fd

2 files changed

Lines changed: 24 additions & 22 deletions

File tree

css-grid/Overview.bs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2629,18 +2629,19 @@ Initialize Track Sizes</h3>
26292629
For each track,
26302630
if the track's <a>min track sizing function</a> is:
26312631

2632-
<ul>
2633-
<li>
2634-
For fixed track sizes,
2635-
resolve to an absolute length and use that size.
2636-
<li>
2637-
For intrinsic track sizes,
2638-
use an initial <i>base size</I> of zero and an initial <i>growth limit</i> of infinity.
2632+
<dl>
2633+
<dt>Fixed track sizes
2634+
<dd>
2635+
Resolve to an absolute length and use that size.
26392636

2640-
<li>
2641-
For flexible track sizes,
2642-
use an initial <i>base size</i> of infinity.
2643-
</ul>
2637+
<dt>Intrinsic track sizes
2638+
<dd>
2639+
Use an initial <i>base size</I> of zero and an initial <i>growth limit</i> of infinity.
2640+
2641+
<dt>Flexible track sizes,
2642+
<dd>
2643+
Use an initial <i>base size</i> of infinity.
2644+
</dl>
26442645

26452646
A track with a flexible <em>minimum</em> <i>sizing function</i>
26462647
is treated exactly as if it had a fixed <i>min track sizing function</i> of zero;

css-grid/Overview.html

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,18 +2681,19 @@ <h3 class="heading settled heading" data-level=10.3 id=algo-init><span class=sec
26812681
For each track,
26822682
if the track’s <a data-link-type=dfn href=#min-track-sizing-function title="min track sizing function">min track sizing function</a> is:</p>
26832683

2684-
<ul>
2685-
<li>
2686-
For fixed track sizes,
2687-
resolve to an absolute length and use that size.
2688-
<li>
2689-
For intrinsic track sizes,
2690-
use an initial <a data-link-type=dfn href=#base-size title="base size">base size</a> of zero and an initial <a data-link-type=dfn href=#growth-limit title="growth limit">growth limit</a> of infinity.
2684+
<dl>
2685+
<dt>Fixed track sizes
2686+
<dd>
2687+
Resolve to an absolute length and use that size.
26912688

2692-
<li>
2693-
For flexible track sizes,
2694-
use an initial <a data-link-type=dfn href=#base-size title="base size">base size</a> of infinity.
2695-
</ul>
2689+
<dt>Intrinsic track sizes
2690+
<dd>
2691+
Use an initial <a data-link-type=dfn href=#base-size title="base size">base size</a> of zero and an initial <a data-link-type=dfn href=#growth-limit title="growth limit">growth limit</a> of infinity.
2692+
2693+
<dt>Flexible track sizes,
2694+
<dd>
2695+
Use an initial <a data-link-type=dfn href=#base-size title="base size">base size</a> of infinity.
2696+
</dl>
26962697

26972698
<p>A track with a flexible <em>minimum</em> <a data-link-type=dfn href=#track-sizing-function title="sizing function">sizing function</a>
26982699
is treated exactly as if it had a fixed <a data-link-type=dfn href=#min-track-sizing-function title="min track sizing function">min track sizing function</a> of zero;

0 commit comments

Comments
 (0)