Skip to content

Commit 5cba357

Browse files
committed
[css-syntax] Make url(<ws>*<eof> valid, per EOF-handling rules.
Considering: * url(<ws>*) is valid (same as url("")) * url(a<eof> is valid per the "Close open constructs at EOF" rule Make url(<ws>*<eof> valid too (same as url("")), which is more consistent.
1 parent 374e626 commit 5cba357

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

css-syntax/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<meta content="CSS Syntax Module Level 3 (CSS3 Syntax)" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-06-21 name=dcterms.date>
14+
<meta content=2013-06-24 name=dcterms.date>
1515
<meta content="Tab Atkins Jr." name=dcterms.creator>
1616
<meta content="Simon Sapin" name=dcterms.creator>
1717
<meta content=W3C name=dcterms.publisher>
@@ -33,7 +33,7 @@
3333
<h1 class=p-name>CSS Syntax Module Level 3</h1>
3434

3535
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft <time
36-
class=dt-updated datetime=20130621>21 June 2013</time></h2>
36+
class=dt-updated datetime=20130624>24 June 2013</time></h2>
3737

3838
<dl>
3939
<dt>This version:
@@ -1870,7 +1870,7 @@ <h4 id=consume-a-url-token><span class=secno>4.3.5. </span> <dfn
18701870
possible.
18711871

18721872
<li> If the <a href="#next-input-character"><i>next input
1873-
character</i></a> is EOF, create a 〈bad-url〉 and return it.
1873+
character</i></a> is EOF, return the 〈url〉.
18741874

18751875
<li> If the <a href="#next-input-character"><i>next input
18761876
character</i></a> is a U+0022 QUOTATION MARK (") or U+0027 APOSTROPHE

css-syntax/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ <h4>
11381138

11391139
<li>
11401140
If the <i>next input character</i> is EOF,
1141-
create a 〈bad-url〉 and return it.
1141+
return the 〈url〉.
11421142

11431143
<li>
11441144
If the <i>next input character</i> is a U+0022 QUOTATION MARK (") or U+0027 APOSTROPHE (&apos;),

0 commit comments

Comments
 (0)