Skip to content

Commit 01313b7

Browse files
committed
[css-grid] Rephrase awkward paragraph defining named lines.
1 parent a3c255c commit 01313b7

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

css-grid/Overview.html

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,21 +1384,18 @@ <h4 id=named-lines><span class=secno>5.1.1. </span> Named Grid Lines: the
13841384
<code class=css>(<var>&lt;ident></var>*)</code>’ syntax</h4>
13851385

13861386
<p> While <a href="#grid-line"><i>grid lines</i></a> can always be referred
1387-
to by their numerical index, they can also be explicitly named in the
1387+
to by their numerical index, <dfn id=named-lines0 title="named line">named
1388+
lines</dfn> can make the <a
1389+
href="#grid-placement-properties"><i>grid-placement properties</i></a>
1390+
easier to understand and maintain. Lines can be explicitly named in the
13881391
<a href="#grid-template-rows"><code
13891392
class=property>grid-template-rows</code></a>’ and ‘<a
13901393
href="#grid-template-columns"><code
13911394
class=property>grid-template-columns</code></a>’ properties, or <a
13921395
href="#implicit-named-lines">implicitly named</a> by creating <a
13931396
href="#named-grid-areas"><i>named grid areas</i></a> with the ‘<a
13941397
href="#grid-template-areas"><code
1395-
class=property>grid-template-areas</code></a>’ property. Such <dfn
1396-
id=named-lines0 title="named line">named lines</dfn> can make the <a
1397-
href="#grid-placement-properties"><i>grid-placement properties</i></a>
1398-
easier to understand by allowing meaningful names in their values, and
1399-
easier to maintain if the grid definition changes in the future by tying a
1400-
grid item’s position to a stable name rather than a shifting numerical
1401-
index.
1398+
class=property>grid-template-areas</code></a>’ property.
14021399

14031400
<div class=example>
14041401
<p> For example, the following code gives meaningful names to all of the

css-grid/Overview.src.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -978,12 +978,10 @@ <h4 id='named-lines'>
978978

979979
<p>
980980
While <i>grid lines</i> can always be referred to by their numerical index,
981-
they can also be explicitly named in the 'grid-template-rows' and 'grid-template-columns' properties,
981+
<dfn title="named line">named lines</dfn>
982+
can make the <i>grid-placement properties</i> easier to understand and maintain.
983+
Lines can be explicitly named in the 'grid-template-rows' and 'grid-template-columns' properties,
982984
or <a href="#implicit-named-lines">implicitly named</a> by creating <i>named grid areas</i> with the 'grid-template-areas' property.
983-
Such <dfn title="named line">named lines</dfn> can make the <i>grid-placement properties</i> easier to understand
984-
by allowing meaningful names in their values,
985-
and easier to maintain if the grid definition changes in the future
986-
by tying a grid item’s position to a stable name rather than a shifting numerical index.
987985

988986
<div class='example'>
989987
<p>

0 commit comments

Comments
 (0)