Skip to content

Commit f78a914

Browse files
committed
Improve table markup
1 parent 6d8c5d1 commit f78a914

2 files changed

Lines changed: 34 additions & 32 deletions

File tree

css3-text/Overview.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@
8484

8585
<h1>CSS Text Level 3</h1>
8686

87-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 July 2011</h2>
87+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 29 July 2011</h2>
8888

8989
<dl>
9090
<dt>This version:
9191

9292
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
93-
2011/07/25 01:54:35 $ (CVS $Revision$)</a> <!--
94-
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110725/">http://www.w3.org/TR/2011/WD-css3-text-20110725/</a></dd>
93+
2011/07/25 02:44:01 $ (CVS $Revision$)</a> <!--
94+
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110729/">http://www.w3.org/TR/2011/WD-css3-text-20110729/</a></dd>
9595
-->
9696

9797

@@ -314,7 +314,7 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
314314
Settings: the &lsquo;<code class=property>text-wrap</code>&rsquo;
315315
property</a>
316316
<ul class=toc>
317-
<li><a href="#example-avoid"><span class=secno>6.1.1. </span>Example
317+
<li><a href="#example-avoid"><span class=secno>6.1.1. </span> Example
318318
of using &lsquo;<code class=css>text-wrap: avoid</code>&rsquo; in
319319
presenting a footer</a>
320320
</ul>
@@ -2071,11 +2071,11 @@ <h3 id=text-wrap><span class=secno>6.1. </span> Text Wrap Settings: the
20712071
narrow measures.</p>
20722072
<!-- add a sample prioritization algorithm -->
20732073

2074-
<div class=example>
2075-
<h4 id=example-avoid><span class=secno>6.1.1. </span>Example of using
2076-
&lsquo;<code class=css>text-wrap: avoid</code>&rsquo; in presenting a
2077-
footer</h4>
2074+
<h4 id=example-avoid><span class=secno>6.1.1. </span> Example of using
2075+
&lsquo;<code class=css>text-wrap: avoid</code>&rsquo; in presenting a
2076+
footer</h4>
20782077

2078+
<div class=example>
20792079
<p>The priority of breakpoints can be set to reflect the intended grouping
20802080
of text.</p>
20812081

@@ -2691,12 +2691,12 @@ <h3 id=text-justify><span class=secno>7.3. </span> Justification Method:
26912691
must be treated exactly the same. Word separators (spaces) and other
26922692
symbols and punctuation are treated specially, see below.
26932693

2694-
<table class=data>
2694+
<table class=data><col class=header><col span=6>
26952695
<caption>Prioritization of Expansion Points</caption>
26962696

26972697
<thead>
26982698
<tr>
2699-
<th scope=row>
2699+
<td>
27002700

27012701
<th>&lsquo;<code class=css>inter-word</code>&rsquo;
27022702

@@ -3425,51 +3425,51 @@ <h4 id=fullwidth-collapsing><span class=secno>8.3.1. </span> Fullwidth
34253425

34263426
<tbody>
34273427
<tr>
3428-
<th>Opening&#8212;Opening
3428+
<td scope=row>Opening&#8212;Opening
34293429

34303430
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja></tt>
34313431

34323432
<td><tt class=char lang=ja></tt><tt class="char half-r"
34333433
lang=ja>(</tt>
34343434

34353435
<tr>
3436-
<th>Middle Dot&#8212;Opening
3436+
<td scope=row>Middle Dot&#8212;Opening
34373437

34383438
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja></tt>
34393439

34403440
<td><tt class=char lang=ja></tt><tt class=char lang=ja>(</tt>
34413441

34423442
<tr>
3443-
<th>Closing&#8212;Opening
3443+
<td scope=row>Closing&#8212;Opening
34443444

34453445
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja></tt>
34463446

34473447
<td><tt class=char lang=ja>)<span class=quarter>&#x3000;</span></tt><tt
34483448
class=char lang=ja><span class=quarter>&#x3000;</span>(</tt>
34493449

34503450
<tr>
3451-
<th>Ideographic Space&#8212;Opening
3451+
<td scope=row>Ideographic Space&#8212;Opening
34523452

34533453
<td><tt class=char lang=ja> </tt>+<tt class=char lang=ja></tt>
34543454

34553455
<td><tt class=char lang=ja> </tt><tt class=char lang=ja>(</tt>
34563456

34573457
<tr>
3458-
<th>Closing&#8212;Closing
3458+
<td scope=row>Closing&#8212;Closing
34593459

34603460
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja></tt>
34613461

34623462
<td><tt class=char lang=ja>)</tt><tt class=char lang=ja></tt>
34633463

34643464
<tr>
3465-
<th>Closing&#8212;Middle Dot
3465+
<td scope=row>Closing&#8212;Middle Dot
34663466

34673467
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja></tt>
34683468

34693469
<td><tt class=char lang=ja>)</tt><tt class=char lang=ja></tt>
34703470

34713471
<tr>
3472-
<th>Closing&#8212;Ideographic Space
3472+
<td scope=row>Closing&#8212;Ideographic Space
34733473

34743474
<td><tt class=char lang=ja></tt>+<tt class=char lang=ja> </tt>
34753475

@@ -3591,7 +3591,7 @@ <h4 id=text-spacing-classes><span class=secno>8.3.2. </span> Text Spacing
35913591
<p>The following informative table summarizes language conventions for
35923592
classifying fullwidth colon and dot punctuation:</p>
35933593

3594-
<table class=data>
3594+
<table class=data><col class=header><col span=2>
35953595
<thead>
35963596
<tr>
35973597
<td>

css3-text/Overview.src.html

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,8 +1433,10 @@ <h3 id="text-wrap">
14331433

14341434
<!-- add a sample prioritization algorithm -->
14351435

1436+
<h4 id="example-avoid">
1437+
Example of using 'text-wrap: avoid' in presenting a footer</h4>
1438+
14361439
<div class="example">
1437-
<h4 id="example-avoid">Example of using 'text-wrap: avoid' in presenting a footer</h4>
14381440
<p>The priority of breakpoints can be set to reflect the intended
14391441
grouping of text.</p>
14401442

@@ -1927,10 +1929,12 @@ <h3 id="text-justify">
19271929
specially, see below.
19281930

19291931
<table class="data">
1932+
<col class="header">
1933+
<col span=6>
19301934
<caption>Prioritization of Expansion Points</caption>
19311935
<thead>
19321936
<tr>
1933-
<th scope="row"></th>
1937+
<td></td>
19341938
<th>''inter-word''</th>
19351939
<th>''inter-ideograph''</th>
19361940
<th>''distribute''</th>
@@ -2523,38 +2527,34 @@ <h4 id="fullwidth-collapsing">
25232527
<p>The following example table lists the punctuation pairs affected by
25242528
adjancent-pairs trimming. It uses halfwidth equivalents to approximate
25252529
the trimming effect.</p>
2530+
25262531
<table class="data">
25272532
<caption>Demonstration of adjacent-pairs punctuation trimming</caption>
25282533
<thead>
25292534
<tr><th>Combination</th> <th>Sample Pair</th> <th>Looks Like</th>
25302535
</thead>
25312536

25322537
<tbody>
2533-
<tr><th>Opening&#8212;Opening</th>
2538+
<tr><td scope=row>Opening&#8212;Opening</td>
25342539
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"></tt>
25352540
<td><tt lang="ja" class="char"></tt><tt lang="ja" class="char half-r">(</tt>
2536-
<tr><th>Middle Dot&#8212;Opening</th>
2537-
2541+
<tr><td scope=row>Middle Dot&#8212;Opening</td>
25382542
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"></tt>
25392543
<td><tt lang="ja" class="char"></tt><tt lang="ja" class="char">(</tt>
2540-
<tr><th>Closing&#8212;Opening</th>
2544+
<tr><td scope=row>Closing&#8212;Opening</td>
25412545
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"></tt>
2542-
25432546
<td><tt lang="ja" class="char">)<span class="quarter">&#x3000;</span></tt><tt lang="ja" class="char"><span class="quarter">&#x3000;</span>(</tt>
2544-
<tr><th>Ideographic Space&#8212;Opening</th>
2547+
<tr><td scope=row>Ideographic Space&#8212;Opening</td>
25452548
<td><tt lang="ja" class="char"> </tt>+<tt lang="ja" class="char"></tt>
25462549
<td><tt lang="ja" class="char"> </tt><tt lang="ja" class="char">(</tt>
2547-
2548-
<tr><th>Closing&#8212;Closing</th>
2550+
<tr><td scope=row>Closing&#8212;Closing</td>
25492551
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"></tt>
25502552
<td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char"></tt>
2551-
<tr><th>Closing&#8212;Middle Dot</th>
2552-
2553+
<tr><td scope=row>Closing&#8212;Middle Dot</td>
25532554
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"></tt>
25542555
<td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char"></tt>
2555-
<tr><th>Closing&#8212;Ideographic Space</th>
2556+
<tr><td scope=row>Closing&#8212;Ideographic Space</td>
25562557
<td><tt lang="ja" class="char"></tt>+<tt lang="ja" class="char"> </tt>
2557-
25582558
<td><tt lang="ja" class="char">)</tt><tt lang="ja" class="char"> </tt>
25592559
</tbody>
25602560
</table>
@@ -2646,6 +2646,8 @@ <h4 id="text-spacing-classes">
26462646
classifying fullwidth colon and dot punctuation:</p>
26472647

26482648
<table class="data">
2649+
<col class="header">
2650+
<col span=2>
26492651
<thead>
26502652
<tr><td></td> <th>colon punctuation</th> <th>dot punctuation</th>
26512653
</thead>

0 commit comments

Comments
 (0)