Skip to content

Commit 30f54d3

Browse files
committed
[css-syntax] Move the url-unquoted state to before the url-end state.
1 parent e67e707 commit 30f54d3

2 files changed

Lines changed: 57 additions & 57 deletions

File tree

css-syntax/Overview.html

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,12 @@ <h2 class="no-num no-toc" id=contents> Table of contents</h2>
238238
<li><a href="#url-single-quote-state"><span class=secno>4.4.16.
239239
</span> URL-single-quote state</a>
240240

241-
<li><a href="#url-end-state"><span class=secno>4.4.17. </span> URL-end
242-
state</a>
243-
244-
<li><a href="#url-unquoted-state"><span class=secno>4.4.18. </span>
241+
<li><a href="#url-unquoted-state"><span class=secno>4.4.17. </span>
245242
URL-unquoted state</a>
246243

244+
<li><a href="#url-end-state"><span class=secno>4.4.18. </span> URL-end
245+
state</a>
246+
247247
<li><a href="#bad-url-state"><span class=secno>4.4.19. </span> Bad-URL
248248
state</a>
249249

@@ -2388,33 +2388,7 @@ <h4 id=url-single-quote-state><span class=secno>4.4.16. </span> <dfn
23882388
character</i></a> to the url token's value. Remain in this state.
23892389
</dl>
23902390

2391-
<h4 id=url-end-state><span class=secno>4.4.17. </span> <dfn
2392-
id=url-end-state0>URL-end state</dfn></h4>
2393-
2394-
<p> Consume the <a href="#next-input-character"><i>next input
2395-
character</i></a>.
2396-
2397-
<dl>
2398-
<dt>U+0029 RIGHT PARENTHESIS ())
2399-
2400-
<dt>EOF
2401-
2402-
<dd> Emit the url token. Switch to the <a href="#data-state0"><i>data
2403-
state</i></a>.
2404-
2405-
<dt><a href="#whitespace"><i>whitespace</i></a>
2406-
2407-
<dd> Remain in this state.
2408-
2409-
<dt>anything else
2410-
2411-
<dd> This is a <a href="#parse-errors"><i>parse error</i></a>. Switch to
2412-
the <a href="#bad-url-state0"><i>bad-url state</i></a>. <a
2413-
href="#reconsume-the-current-input-character"><i>Reconsume the current
2414-
input character</i></a>.
2415-
</dl>
2416-
2417-
<h4 id=url-unquoted-state><span class=secno>4.4.18. </span> <dfn
2391+
<h4 id=url-unquoted-state><span class=secno>4.4.17. </span> <dfn
24182392
id=url-unquoted-state0>URL-unquoted state</dfn></h4>
24192393

24202394
<p> Consume the <a href="#next-input-character"><i>next input
@@ -2459,6 +2433,32 @@ <h4 id=url-unquoted-state><span class=secno>4.4.18. </span> <dfn
24592433
character</i></a> to the url token's value. Remain in this state.
24602434
</dl>
24612435

2436+
<h4 id=url-end-state><span class=secno>4.4.18. </span> <dfn
2437+
id=url-end-state0>URL-end state</dfn></h4>
2438+
2439+
<p> Consume the <a href="#next-input-character"><i>next input
2440+
character</i></a>.
2441+
2442+
<dl>
2443+
<dt>U+0029 RIGHT PARENTHESIS ())
2444+
2445+
<dt>EOF
2446+
2447+
<dd> Emit the url token. Switch to the <a href="#data-state0"><i>data
2448+
state</i></a>.
2449+
2450+
<dt><a href="#whitespace"><i>whitespace</i></a>
2451+
2452+
<dd> Remain in this state.
2453+
2454+
<dt>anything else
2455+
2456+
<dd> This is a <a href="#parse-errors"><i>parse error</i></a>. Switch to
2457+
the <a href="#bad-url-state0"><i>bad-url state</i></a>. <a
2458+
href="#reconsume-the-current-input-character"><i>Reconsume the current
2459+
input character</i></a>.
2460+
</dl>
2461+
24622462
<h4 id=bad-url-state><span class=secno>4.4.19. </span> <dfn
24632463
id=bad-url-state0>Bad-URL state</dfn></h4>
24642464

@@ -4603,7 +4603,7 @@ <h2 class=no-num id=index> Index</h2>
46034603
title="section 4.4.15."><strong>4.4.15.</strong></a>
46044604

46054605
<li>URL-end state, <a href="#url-end-state0"
4606-
title="section 4.4.17."><strong>4.4.17.</strong></a>
4606+
title="section 4.4.18."><strong>4.4.18.</strong></a>
46074607

46084608
<li>URL-single-quote state, <a href="#url-single-quote-state0"
46094609
title="section 4.4.16."><strong>4.4.16.</strong></a>
@@ -4612,7 +4612,7 @@ <h2 class=no-num id=index> Index</h2>
46124612
title="section 4.4.14."><strong>4.4.14.</strong></a>
46134613

46144614
<li>URL-unquoted state, <a href="#url-unquoted-state0"
4615-
title="section 4.4.18."><strong>4.4.18.</strong></a>
4615+
title="section 4.4.17."><strong>4.4.17.</strong></a>
46164616

46174617
<li>whitespace, <a href="#whitespace"
46184618
title="section 4.3."><strong>4.3.</strong></a>

css-syntax/Overview.src.html

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,30 +1655,6 @@ <h4>
16551655
Remain in this state.
16561656
</dl>
16571657

1658-
<h4>
1659-
<dfn>URL-end state</dfn></h4>
1660-
1661-
<p>
1662-
Consume the <i>next input character</i>.
1663-
1664-
<dl>
1665-
<dt>U+0029 RIGHT PARENTHESIS ())
1666-
<dt>EOF
1667-
<dd>
1668-
Emit the url token.
1669-
Switch to the <i>data state</i>.
1670-
1671-
<dt><i>whitespace</i>
1672-
<dd>
1673-
Remain in this state.
1674-
1675-
<dt>anything else
1676-
<dd>
1677-
This is a <i>parse error</i>.
1678-
Switch to the <i>bad-url state</i>.
1679-
<i>Reconsume the current input character</i>.
1680-
</dl>
1681-
16821658
<h4>
16831659
<dfn>URL-unquoted state</dfn></h4>
16841660

@@ -1725,6 +1701,30 @@ <h4>
17251701
Remain in this state.
17261702
</dl>
17271703

1704+
<h4>
1705+
<dfn>URL-end state</dfn></h4>
1706+
1707+
<p>
1708+
Consume the <i>next input character</i>.
1709+
1710+
<dl>
1711+
<dt>U+0029 RIGHT PARENTHESIS ())
1712+
<dt>EOF
1713+
<dd>
1714+
Emit the url token.
1715+
Switch to the <i>data state</i>.
1716+
1717+
<dt><i>whitespace</i>
1718+
<dd>
1719+
Remain in this state.
1720+
1721+
<dt>anything else
1722+
<dd>
1723+
This is a <i>parse error</i>.
1724+
Switch to the <i>bad-url state</i>.
1725+
<i>Reconsume the current input character</i>.
1726+
</dl>
1727+
17281728

17291729
<h4>
17301730
<dfn>Bad-URL state</dfn></h4>

0 commit comments

Comments
 (0)