Skip to content

Commit 49d3d73

Browse files
author
dauwhe
committed
[css-gcpm] fix typo in example; add issue about default value of content() function
1 parent a9407f2 commit 49d3d73

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

css-gcpm/Overview.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</p>
5757
<h1 class="p-name no-ref" id=title>CSS Generated Content for Paged Media Module</h1>
5858
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
59-
<span class=dt-updated><span class=value-title title=20140806>6 August 2014</span></span></span></h2>
59+
<span class=dt-updated><span class=value-title title=20140807>7 August 2014</span></span></span></h2>
6060
<div data-fill-with=spec-metadata><dl>
6161
<dt>This version:
6262
<dd><a class=u-url href=http://dev.w3.org/csswg/css-gcpm/>http://dev.w3.org/csswg/css-gcpm/</a>
@@ -259,6 +259,9 @@ <h5 class="heading settled heading" data-level=1.1.1.1 id=content-function-heade
259259
</pre>
260260

261261

262+
<p class=issue id=issue-edcf4ca2><a class=self-link href=#issue-edcf4ca2></a>How do we define the default value for this function?</p>
263+
264+
262265
<dl data-dfn-for=content() data-dfn-type=value>
263266

264267
<dt>text</dt>
@@ -834,7 +837,7 @@ <h2 class="heading settled heading" data-level=4 id=leaders><span class=secno>4
834837
<div class=example>
835838
<pre>
836839
ol.toc a::after {
837-
content: leader('.') target-counter(attr(href url), page);
840+
content: leader('.') target-counter(attr(href), page);
838841
}
839842

840843
&lt;h1&gt;Table of Contents&lt;/h1&gt;
@@ -1470,7 +1473,7 @@ <h2 class="no-num no-ref heading settled heading" id=property-index><span class=
14701473
<tr><th scope=row><a class=css-code data-link-type=property href=#propdef-bookmark-state title=bookmark-state>bookmark-state</a><td>open | closed<td>open<td>block-level elements<td>no<td>N/A<td>visual<td>specified value</table></div>
14711474

14721475

1473-
<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>
1476+
<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>How do we define the default value for this function?<a href=#issue-edcf4ca2></a></div><div class=issue>
14741477
<p>This idea would be much more useful if we could also copy (rather than just move) elements. That would avoid the duplication of HTML in the example above.
14751478
</p>
14761479

css-gcpm/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ <h5 id="content-function-header">The ''content()'' function</h5>
8686
</pre>
8787

8888

89+
<p class="issue">How do we define the default value for this function?</p>
90+
91+
8992
<dl dfn-type="value" dfn-for="content()">
9093

9194
<dt>text</dt>
@@ -818,7 +821,7 @@ <h2 id="leaders">
818821
<pre>
819822

820823
ol.toc a::after {
821-
content: leader('.') target-counter(attr(href url), page);
824+
content: leader('.') target-counter(attr(href), page);
822825
}
823826

824827
&lt;h1>Table of Contents&lt;/h1>

0 commit comments

Comments
 (0)