Skip to content

Commit 2f3439a

Browse files
committed
[css-syntax] Swap the order of two examples for <An+B>.
1 parent e0089b6 commit 2f3439a

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

css-syntax/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,6 +2665,15 @@ Informal Syntax Description</h3>
26652665
-->2n /* same */</pre>
26662666
</div>
26672667

2668+
When B is negative, its minus sign replaces the ''+'' sign.
2669+
2670+
<div class="example">
2671+
<p>Valid example:
2672+
<pre>3n-6</pre>
2673+
<p>Invalid example:
2674+
<pre>3n + -6</pre>
2675+
</div>
2676+
26682677
Whitespace is permitted on either side of the ''+'' or ''-''
26692678
that separates the <var>An</var> and <var>B</var> parts when both are present.
26702679

@@ -2682,15 +2691,6 @@ Informal Syntax Description</h3>
26822691
-->+ 2</pre>
26832692
</div>
26842693

2685-
When B is negative, its minus sign replaces the ''+'' sign.
2686-
2687-
<div class="example">
2688-
<p>Valid example:
2689-
<pre>3n-6</pre>
2690-
<p>Invalid example:
2691-
<pre>3n + -6</pre>
2692-
</div>
2693-
26942694

26952695
<h3 id="the-anb-type">
26962696
The <code>&lt;an+b></code> type</h3>

css-syntax/Overview.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</p>
5959
<h1 class="p-name no-ref" id=title>CSS Syntax Module Level 3</h1>
6060
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
61-
<span class=dt-updated><span class=value-title title=20140304>4 March 2014</span></span></span></h2>
61+
<span class=dt-updated><span class=value-title title=20140305>5 March 2014</span></span></span></h2>
6262
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-syntax-3/>http://www.w3.org/TR/css-syntax-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-syntax/>http://dev.w3.org/csswg/css-syntax/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/ rel=previous>http://www.w3.org/TR/2014/CR-css-syntax-3-20140220/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20131105/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/ rel=previous>http://www.w3.org/TR/2013/WD-css-syntax-3-20130919/</a>
6363
<dt>Feedback:</dt>
6464
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-syntax%5D%20feedback">www-style@w3.org</a>
@@ -4168,6 +4168,13 @@ <h3 class="heading settled heading" data-level=6.1 id=anb-syntax><span class=sec
41684168
<pre>2n+0 /* represents every even element in the list */
41694169
2n /* same */</pre> </div>
41704170

4171+
<p> When B is negative, its minus sign replaces the <span class=css data-link-type=maybe title=+>+</span> sign.
4172+
4173+
<div class=example>
4174+
<p>Valid example:
4175+
<pre>3n-6</pre> <p>Invalid example:
4176+
<pre>3n + -6</pre> </div>
4177+
41714178
<p> Whitespace is permitted on either side of the <span class=css data-link-type=maybe title=+>+</span> or <span class=css data-link-type=maybe title=->-</span>
41724179
that separates the <var>An</var> and <var>B</var> parts when both are present.
41734180

@@ -4181,13 +4188,6 @@ <h3 class="heading settled heading" data-level=6.1 id=anb-syntax><span class=sec
41814188
+ 2n
41824189
+ 2</pre> </div>
41834190

4184-
<p> When B is negative, its minus sign replaces the <span class=css data-link-type=maybe title=+>+</span> sign.
4185-
4186-
<div class=example>
4187-
<p>Valid example:
4188-
<pre>3n-6</pre> <p>Invalid example:
4189-
<pre>3n + -6</pre> </div>
4190-
41914191

41924192
<h3 class="heading settled heading" data-level=6.2 id=the-anb-type><span class=secno>6.2 </span><span class=content>
41934193
The <code>&lt;an+b&gt;</code> type</span><a class=self-link href=#the-anb-type></a></h3>

0 commit comments

Comments
 (0)