Skip to content

Commit e4a2584

Browse files
committed
Fix ECMA-262 reference.
1 parent 3434351 commit e4a2584

2 files changed

Lines changed: 19 additions & 17 deletions

File tree

css3-conditional/Overview.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
<h1>CSS Conditional Rules Module Level 3</h1>
1919

20-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 22 June 2011</h2>
20+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 30 June 2011</h2>
2121

2222
<dl>
2323
<dt>This version:
2424

25-
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20110622/">
26-
http://www.w3.org/TR/2011/ED-css3-conditional-20110622</a>
25+
<dd><a href="http://www.w3.org/TR/2011/ED-css3-conditional-20110630/">
26+
http://www.w3.org/TR/2011/ED-css3-conditional-20110630</a>
2727

2828
<dt>Latest version:
2929

@@ -896,20 +896,21 @@ <h2 id=at-document><span class=secno>7. </span>Document queries: the
896896

897897
<dd>
898898
<p>The contents of the &lt;string&gt; argument <strong>must</strong>
899-
match the JavaScript <code>Pattern</code> production. However, failing
900-
to do so is not a CSS syntax error and does not trigger any error
901-
handling for CSS syntax errors.</p>
899+
match the JavaScript <code>Pattern</code> production (<a
900+
href="#ECMA-262-5.1"
901+
rel=biblioentry>[ECMA-262-5.1]<!--{{!ECMA-262-5.1}}--></a>, section
902+
15.10.1). However, failing to do so is not a CSS syntax error and does
903+
not trigger any error handling for CSS syntax errors.</p>
902904

903905
<p>The &lsquo;<a href="#url-regexp"><code
904906
class=css>regexp()</code></a>&rsquo; function evaluates to true whenever
905907
the string argument compiled as a JavaScript regular expression with the
906908
<code>global</code>, <code>ignoreCase</code> and <code>multiline</code>
907-
flags <em>disabled</em> (see <a href="#ECMA-262"
908-
rel=biblioentry>[ECMA-262]<!--{{!ECMA-262}}--></a> Edition 5, sections
909-
15.10.7.2 through 15.10.7.4 <span class=issue>fix reference and cite 5.1
910-
when final</span>) compiles successfully and the resulting regular
911-
expression matches the entirety of the <a href="#url-of-doc">URL of the
912-
document being styled</a>.</p>
909+
flags <em>disabled</em> (see <a href="#ECMA-262-5.1"
910+
rel=biblioentry>[ECMA-262-5.1]<!--{{!ECMA-262-5.1}}--></a>, sections
911+
15.10.7.2 through 15.10.7.4) compiles successfully and the resulting
912+
regular expression matches the entirety of the <a href="#url-of-doc">URL
913+
of the document being styled</a>.</p>
913914

914915
<p class=note>Note that regular expression must match the entire URL, not
915916
just a part of it.</p>
@@ -1177,11 +1178,12 @@ <h3 class=no-num id=normative-references>Normative references</h3>
11771178
</dd>
11781179
<!---->
11791180

1180-
<dt id=ECMA-262>[ECMA-262]
1181+
<dt id=ECMA-262-5.1>[ECMA-262-5.1]
11811182

11821183
<dd><a
11831184
href="http://www.ecma-international.org/publications/standards/Ecma-262.htm"><cite>ECMAScript
1184-
Language Specification, Third Edition.</cite></a> December 1999. URL: <a
1185+
Language Specification, Edition 5.1.</cite></a> June 2011. ISO/IEC
1186+
16262:2011. URL: <a
11851187
href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">http://www.ecma-international.org/publications/standards/Ecma-262.htm</a>
11861188
</dd>
11871189
<!---->

css3-conditional/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,16 +671,16 @@ <h2 id="at-document">Document queries: the '@document' rule</h2>
671671

672672
<dd>
673673
<p>The contents of the &lt;string&gt; argument <strong>must</strong>
674-
match the JavaScript <code>Pattern</code> production. However,
674+
match the JavaScript <code>Pattern</code> production
675+
([[!ECMA-262-5.1]], section 15.10.1). However,
675676
failing to do so is not a CSS syntax error and does not trigger any
676677
error handling for CSS syntax errors.</p>
677678

678679
<p>The ''regexp()'' function evaluates to true whenever the string
679680
argument compiled as a JavaScript regular expression with the
680681
<code>global</code>, <code>ignoreCase</code> and
681682
<code>multiline</code> flags <em>disabled</em>
682-
(see [[!ECMA-262]] Edition 5, sections 15.10.7.2 through 15.10.7.4
683-
<span class="issue">fix reference and cite 5.1 when final</span>)
683+
(see [[!ECMA-262-5.1]], sections 15.10.7.2 through 15.10.7.4)
684684
compiles successfully and the resulting regular expression matches
685685
the entirety of the
686686
<a href="#url-of-doc">URL of the document being styled</a>.</p>

0 commit comments

Comments
 (0)