Skip to content

Commit 84086bb

Browse files
author
howcome
committed
adding functional notation, adding content(text) which identical to content(), revising markup
1 parent ee591ee commit 84086bb

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

css-gcpm/Overview.src.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -202,23 +202,23 @@ <h4>Setting named strings: the 'string-set' property</h4>
202202
<dd>the counter() or counters() function, as per <a href="http://www.w3.org/TR/CSS21/syndata.html#counter">CSS 2.1 section 4.3.5</a>
203203

204204

205-
<dt class=unimplemented>contents
205+
<dt class=unimplemented>contents()
206206

207207
<dd class=unimplemented>The textual content of the element, including the content of its ::before and ::after pseudo-element. The content of the element's descendants, including their respective ::before and ::after pseudo-elements, are included in the returned content.
208208

209-
<dt><!--content-element-->content
209+
<dt><!--content-element-->content(text)
210210

211-
<dd>The textual content of the element, not including the content of its ::before and ::after pseudo-element. The content of the element's descendants, including their respective ::before and ::after pseudo-elements, are included in the returned content.
211+
<dd>The textual content of the element, not including the content of its ::before and ::after pseudo-element. The content of the element's descendants, including their respective ::before and ::after pseudo-elements, are included in the returned content. This is the default value, so ''content()'' is equivalent to ''content(text)''.
212212

213-
<dt><!--content-before-->before
213+
<dt><!--content-before-->content(before)
214214

215215
<dd>The textual content of the ::before pseudo-element the content of the element.
216216

217-
<dt><!--content-after-->after
217+
<dt><!--content-after-->content(after)
218218

219219
<dd>The textual content of the ::after pseudo-element the content of the element.
220220

221-
<dt><!--content-first-letter-->first-letter
221+
<dt><!--content-first-letter-->content(first-letter)
222222

223223
<dd>The first letter of the content of the element. The definition of a letter is the same as for :first-letter pseudo-elements.
224224

@@ -387,12 +387,12 @@ <h4>Using named strings</h4>
387387
<tr>
388388
<td>1
389389
<td>
390-
<div class=pre>&lt;h1>Continents&lt;/h1>
390+
<pre>&lt;h1>Continents&lt;/h1>
391391
...
392392
&lt;h2>Africa&lt;/h2>
393393
...
394394
...
395-
</div>
395+
</pre>
396396
<td>Africa
397397
<td>Africa
398398
<td>Africa
@@ -402,12 +402,12 @@ <h4>Using named strings</h4>
402402
<tr>
403403
<td>2
404404
<td>
405-
<div class=pre>...
405+
<pre>...
406406
&lt;h2>Americas&lt;/h2>
407407
...
408408
&lt;h2>Asia&lt;/h2>
409409
...
410-
</div>
410+
</pre>
411411
<td>Americas
412412
<td>Africa
413413
<td>Asia
@@ -417,11 +417,11 @@ <h4>Using named strings</h4>
417417
<tr>
418418
<td>3
419419
<td>
420-
<div class=pre>...
420+
<pre>...
421421
...
422422
...
423423
...
424-
</div>
424+
</pre>
425425
<td>Asia
426426
<td>Asia
427427
<td>Asia
@@ -430,12 +430,12 @@ <h4>Using named strings</h4>
430430
<tr>
431431
<td>4
432432
<td>
433-
<div class=pre>&lt;h2>Europe&lt;/h2>
433+
<pre>&lt;h2>Europe&lt;/h2>
434434
...
435435
&lt;h2>Oceania&lt;/h2>
436436
..
437437

438-
</div>
438+
</pre>
439439
<td>Europe
440440
<td>Europe
441441
<td>Oceania

0 commit comments

Comments
 (0)