Skip to content

Commit 6856cb6

Browse files
committed
[css-content] fix various bikeshed issues
1 parent 531ae31 commit 6856cb6

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

css-content/Overview.bs

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The 'content' property dictates what is rendered inside the element or pseudo-el
114114

115115
<dt><dfn type><<content-list>></dfn>
116116
<dd>
117-
[ <<string>> | contents | <<uri>> | <<quote>> | ''document-url'' | <<datetime>> | <<target>> | ''leader()'' ]+
117+
[ <<string>> | contents | <<uri>> | <<quote>> | ''document-url'' | <<target>> | ''leader()'' ]+
118118

119119
See sections below for details on each of these.
120120

@@ -178,7 +178,7 @@ Issue: should the contents keyword be replaced with ''content()''
178178
<h2 id="content-functions">
179179
Content Values and Functions</h2>
180180

181-
The ''content'' property can be used to add many different types of content to a document,
181+
The 'content' property can be used to add many different types of content to a document,
182182
including images, strings, the values of counters, and the text value of elements.
183183
In this section we enumerate the possibilities.
184184

@@ -292,7 +292,7 @@ contents</h3>
292292
<h3 id="quotes">
293293
Quotes</h3>
294294

295-
HTML has long had the <code>q</code> element, used to delimit quotations. The ''quotes'' property, in conjunction with the various *-quote values of the ''content'' property, can be used to properly style such quotations.
295+
HTML has long had the <code>q</code> element, used to delimit quotations. The ''quotes'' property, in conjunction with the various *-quote values of the 'content' property, can be used to properly style such quotations.
296296

297297

298298
<h4 id="specifying-quotes">
@@ -336,7 +336,7 @@ The *-quote values of the content property
336336

337337

338338
<pre class="prod">
339-
<dfn><<quote>></dfn> = [open-quote | close-quote | no-open-quote | no-close-quote] )
339+
<dfn><<quote>></dfn> = [open-quote | close-quote | no-open-quote | no-close-quote]
340340
</pre>
341341

342342

@@ -566,7 +566,7 @@ use a hypothetical line block that extends across the whole containing block to
566566
BBBBBBBBBB
567567
..........
568568
</pre>
569-
<li> Draw the before and after content on top of the leader. If any part of the <var>before</var> or <var>after content</var> overlaps a glyph in a leader string box, that glyph is not displayed.<pre>
569+
<li> Draw the before and after content on top of the leader. If any part of the <var>before content</var> or <var>after content</var> overlaps a glyph in a leader string box, that glyph is not displayed.<pre>
570570
BBBBBBBBBB
571571
BBB....AAA
572572
</pre>
@@ -614,6 +614,15 @@ Cross references and the target-* functions
614614
</ul>
615615
Three new values for the content property are used to automatically create these types of cross-references: ''target-counter()'', ''target-counters()'', and ''target-text()''. Each of these displays information obtained from the target end of a link.
616616

617+
618+
<pre class="prod">
619+
<dfn><<target>></dfn> = [ ''target-counter()'' | ''target-counters()'' | ''target-text()'' ]
620+
</pre>
621+
622+
See sections below for details on each of these.
623+
624+
625+
617626
<h4 id="target-counter">
618627
The ''target-counter()'' function
619628
</h4>

0 commit comments

Comments
 (0)