Skip to content

Commit f2e4e52

Browse files
committed
Make the attr() grammar notation more consistent.
1 parent 9c4cb86 commit f2e4e52

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css3-values/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ <h3 id=attr-notation><span class=secno>8.3. </span> Attribute References:
16271627
<p>The new syntax for the &lsquo;<a href="#attr"><code
16281628
class=css>attr()</code></a>&rsquo; expression is:
16291629

1630-
<pre>'attr(' &lt;attr-name> &lt;type-or-unit>? [ ',' &lt;fallback> ]? ')'</pre>
1630+
<pre>attr( &lt;attr-name> &lt;type-or-unit>? [ , &lt;fallback> ]? )</pre>
16311631

16321632
<p> where &lt;attr-name> is a <a
16331633
href="http://dev.w3.org/csswg/css3-namespace/#css-qnames">CSS qualified

css3-values/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ <h3 id="attr-notation">
11361136

11371137
<p>The new syntax for the ''attr()'' expression is:</p>
11381138

1139-
<pre>'attr(' &lt;attr-name> &lt;type-or-unit>? [ ',' &lt;fallback> ]? ')'</pre>
1139+
<pre>attr( &lt;attr-name> &lt;type-or-unit>? [ , &lt;fallback> ]? )</pre>
11401140

11411141
<p>
11421142
where &lt;attr-name> is a <a href="http://dev.w3.org/csswg/css3-namespace/#css-qnames">CSS qualified name</a>

0 commit comments

Comments
 (0)