Skip to content

Commit 93f8bc2

Browse files
committed
[css-text] Fix 'text-indent' grammar to follow the Lea Verou principle (fully reorderable unless ambiguous)
1 parent 95789d2 commit 93f8bc2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css-text/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2815,7 +2815,7 @@ <h2 id=edge-effects><span class=secno>9. </span> Edge Effects</h2>
28152815

28162816
<p>Edge effects control the indentation of lines with respect to other
28172817
lines in the block (‘<a href="#text-indent0"><code
2818-
class=property>text-indent</code></a>’) and how content is aligned to
2818+
class=property>text-indent</code></a>’) and how content is measured at
28192819
the start and end edges of a line (‘<a
28202820
href="#hanging-punctuation0"><code
28212821
class=property>hanging-punctuation</code></a>’).
@@ -2838,7 +2838,7 @@ <h3 id=text-indent><span class=secno>9.1. </span> First Line Indentation:
28382838
href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length">&lt;length&gt;</a></span>
28392839
| <span class=value-inst-percentage><a
28402840
href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage">&lt;percentage&gt;</a></span>
2841-
] && [ hanging || each-line ]?
2841+
] && hanging? && each-line?
28422842

28432843
<tr>
28442844
<th>Initial:
@@ -3910,7 +3910,7 @@ <h2 class=no-num id=appendix-g-full-property-index>Appendix G: Full
39103910
<tr>
39113911
<th><a class=property href="#text-indent0">text-indent</a>
39123912

3913-
<td>[ &lt;length&gt; | &lt;percentage&gt; ] && [ hanging || each-line ]?
3913+
<td>[ &lt;length&gt; | &lt;percentage&gt; ] && hanging? && each-line?
39143914

39153915
<td>0
39163916

css-text/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2178,7 +2178,7 @@ <h3 id="text-indent">
21782178
<th><a href="#values">Value</a>:
21792179
<td>[ <span class="value-inst-length"><a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length">&lt;length&gt;</a></span>
21802180
| <span class="value-inst-percentage"><a href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage">&lt;percentage&gt;</a></span>
2181-
] && [ hanging || each-line ]?
2181+
] && hanging? && each-line?
21822182
</td>
21832183
</tr>
21842184
<tr>

0 commit comments

Comments
 (0)