Skip to content

Commit 0792bf2

Browse files
committed
[css-content] add comment to alt example per James Craig feedback
1 parent 926c715 commit 0792bf2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css-content/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Alternative text for Generated Content: The 'alt' property</h3>
349349
<pre>
350350
.new::before {
351351
content: url(./img/star.png);
352-
alt: "New!";
352+
alt: "New!"; /* or a lcoalized attribute from the DOM: attr("data-alt") */
353353
}
354354
</pre>
355355
</div>

css-content/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Generated Content Module Level 3</h1>
5656
<h2 class="no-num no-toc no-ref heading settled" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20141205>5 December 2014</span></span></span></h2>
57+
<time class=dt-updated datetime=2015-01-12>12 January 2015</time></span></h2>
5858
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-content/>http://dev.w3.org/csswg/css-content/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css3-content/>http://www.w3.org/TR/css3-content/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2003/WD-css3-content-20030514/ rel=previous>http://www.w3.org/TR/2003/WD-css3-content-20030514/</a><dt>Feedback:<dd><span><a href="mailto:www-style@w3.org?subject=%5Bcss-content%5D%20feedback">www-style@w3.org</a> with subject line “<kbd>[css-content] <var>… message topic …</var></kbd>” (<a href=http://lists.w3.org/Archives/Public/www-style/ rel=discussion>archives</a>)</span><dt>Issue Tracking:<dd><a href=#issues-index>Inline In Spec</a><dt class=editor>Editors:<dd class=editor><div class="p-author h-card vcard"><a class="p-name fn u-url url" href=http://fantasai.inkedblade.net/contact>Fantasai</a> (<span class="p-org org">W3C Invited Expert</span>)</div><dd class=editor><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:dauwhe@gmail.com>Dave Cramer</a> (<span class="p-org org">Hachette Livre</span>)</div><dt>Former Editors:<dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:howcome@opera.com>Håkon Wium Lie</a> (<span class="p-org org">Opera Software</span>)</div><dd><div class="p-author h-card vcard"><a class="p-name fn u-email email" href=mailto:ian@hixie.ch>Ian Hickson</a> (<span class="p-org org">Google</span>)</div></dl></div>
5959
<div data-fill-with=warning><details class=annoying-warning open>
6060
<summary>Not Ready For Implementation</summary>
@@ -417,7 +417,7 @@ <h3 class="heading settled" data-level=2.1 id=alt-property><span class=secno>2.1
417417

418418
<pre>.new::before {
419419
content: url(./img/star.png);
420-
alt: "New!";
420+
alt: "New!"; /* or a lcoalized attribute from the DOM: attr("data-alt") */
421421
}
422422
</pre>
423423
</div>

0 commit comments

Comments
 (0)