Skip to content

Commit c047112

Browse files
committed
Add some more issues; verify all Applies to lies
1 parent 2bbff80 commit c047112

1 file changed

Lines changed: 40 additions & 23 deletions

File tree

css3-text/Overview.src.html

Lines changed: 40 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ <h3 id="text-align"><span class="secno"></span>
10581058
</tr>
10591059
<tr>
10601060
<th>Applies to:</th>
1061-
<td>all elements</td>
1061+
<td>block containers</td>
10621062
</tr>
10631063
<tr>
10641064
<th>Inherited:</th>
@@ -1162,7 +1162,7 @@ <h3 id="text-align-last"><span class="secno"></span>
11621162
</tr>
11631163
<tr>
11641164
<th>Applies to:</th>
1165-
<td>all elements</td>
1165+
<td>block containers</td>
11661166
</tr>
11671167
<tr>
11681168
<th>Inherited:</th>
@@ -1868,7 +1868,7 @@ <h3 id="punctuation-trim"><span class="secno"></span>
18681868
</tr>
18691869
<tr>
18701870
<th>Applies to:</th>
1871-
<td>all elements and generated content</td>
1871+
<td>all elements</td>
18721872
</tr>
18731873
<tr>
18741874
<th>Inherited:</th>
@@ -2058,7 +2058,7 @@ <h3 id="text-autospace"><span class="secno"></span>
20582058
</tr>
20592059
<tr>
20602060
<th>Applies to:</th>
2061-
<td>all elements and generated content</td>
2061+
<td>all elements</td>
20622062
</tr>
20632063
<tr>
20642064
<th>Inherited:</th>
@@ -2171,7 +2171,7 @@ <h3 id="text-indent"><span class="secno"></span>
21712171
</tr>
21722172
<tr>
21732173
<th>Applies to:</th>
2174-
<td>block-level, inline-block elements and table cells</td>
2174+
<td>block containers</td>
21752175
</tr>
21762176
<tr>
21772177
<th>Inherited:</th>
@@ -2256,7 +2256,7 @@ <h3 id="hanging-punctuation"><span class="secno"></span>
22562256
</tr>
22572257
<tr>
22582258
<th>Applies to:</th>
2259-
<td>all elements</td>
2259+
<td>block containers</td>
22602260
</tr>
22612261
<tr>
22622262
<th>Inherited:</th>
@@ -2302,15 +2302,17 @@ <h3 id="hanging-punctuation"><span class="secno"></span>
23022302
<p>In all cases only one punctuation character may hang outside the edge
23032303
of the line. </p>
23042304

2305-
<p class="issue">Need to work on the description.
2306-
Cover indentation as well. Check for Western use-cases.</p>
2305+
<p class="issue">Need to work on the description. Add Unicode character classes.
2306+
Cover indentation as well. Check for Western use-cases. Add <code>hyphens</code> value?</p>
23072307

23082308
<h2 id="decoration"><span class="secno"></span>
23092309
<a name="text-decoration">Text Decoration</a></h2>
23102310

23112311
<h3 id="line-decoration"><span class="secno"></span>
23122312
Line Decoration: Underline, Overline, and Strike-Through</h3>
23132313

2314+
<p class="issue">Sync this against CSS2.1.</p>
2315+
23142316
<p>The following properties describe line decorations that are added
23152317
to the content of an element. When specified on an inline element,
23162318
such decoration affects all the boxes generated by that element;
@@ -2415,7 +2417,7 @@ <h4 id="text-decoration-line"><span class="secno"></span>
24152417
</tr>
24162418
<tr>
24172419
<th>Applies to:</th>
2418-
<td>all elements and generated content</td>
2420+
<td>all elements</td>
24192421
</tr>
24202422
<tr>
24212423
<th>Inherited:</th>
@@ -2471,7 +2473,7 @@ <h4 id="text-decoration-color"><span class="secno"></span>
24712473
</tr>
24722474
<tr>
24732475
<th>Applies to:</th>
2474-
<td>all elements and generated content</td>
2476+
<td>all elements</td>
24752477
</tr>
24762478
<tr>
24772479
<th>Inherited:</th>
@@ -2516,7 +2518,7 @@ <h4 id="text-decoration-style"><span class="secno"></span>
25162518
</tr>
25172519
<tr>
25182520
<th>Applies to:</th>
2519-
<td>all elements and generated content</td>
2521+
<td>all elements</td>
25202522
</tr>
25212523
<tr>
25222524
<th>Inherited:</th>
@@ -2565,7 +2567,7 @@ <h4 id="text-decoration"><span class="secno"></span>
25652567
</tr>
25662568
<tr>
25672569
<th>Applies to:</th>
2568-
<td>all elements and generated content</td>
2570+
<td>all elements</td>
25692571
</tr>
25702572
<tr>
25712573
<th>Inherited:</th>
@@ -2633,7 +2635,7 @@ <h4 id="text-decoration-skip"><span class="secno"></span>
26332635
</tr>
26342636
<tr>
26352637
<th>Applies to:</th>
2636-
<td>all elements and generated content</td>
2638+
<td>all elements</td>
26372639
</tr>
26382640
<tr>
26392641
<th>Inherited:</th>
@@ -2711,7 +2713,7 @@ <h4 id="text-underline-position"><span class="secno"></span>
27112713
</tr>
27122714
<tr>
27132715
<th>Applies to:</th>
2714-
<td>all elements and generated content</td>
2716+
<td>all elements</td>
27152717
</tr>
27162718
<tr>
27172719
<th>Inherited:</th>
@@ -2798,7 +2800,7 @@ <h4 id="text-emphasis-style"><span class="secno"></span>
27982800
</tr>
27992801
<tr>
28002802
<th>Applies to:</th>
2801-
<td>all elements and generated content</td>
2803+
<td>all elements</td>
28022804
</tr>
28032805
<tr>
28042806
<th>Inherited:</th>
@@ -2900,7 +2902,7 @@ <h4 id="text-emphasis-color"><span class="secno"></span>
29002902
</tr>
29012903
<tr>
29022904
<th>Applies to:</th>
2903-
<td>all elements and generated content</td>
2905+
<td>all elements</td>
29042906
</tr>
29052907
<tr>
29062908
<th>Inherited:</th>
@@ -2943,7 +2945,7 @@ <h4 id="text-emphasis"><span class="secno"></span>
29432945
</tr>
29442946
<tr>
29452947
<th>Applies to:</th>
2946-
<td>all elements and generated content</td>
2948+
<td>all elements</td>
29472949
</tr>
29482950
<tr>
29492951
<th>Inherited:</th>
@@ -2994,7 +2996,7 @@ <h4 id="text-emphasis-position"><span class="secno"></span>
29942996
</tr>
29952997
<tr>
29962998
<th>Applies to:</th>
2997-
<td>all elements and generated content</td>
2999+
<td>all elements</td>
29983000
</tr>
29993001
<tr>
30003002
<th>Inherited:</th>
@@ -3036,7 +3038,15 @@ <h4 id="text-emphasis-position"><span class="secno"></span>
30363038

30373039
<p class="issue">The values 'over' and 'under' are chosen over 'before'
30383040
and 'after' here because in Mongolian, baseline is not alined with
3039-
the block progression. We need corresponding changes to css3-ruby.</p>
3041+
the block progression.</p>
3042+
3043+
<p class="issue">Steve Zilles points out that these values may
3044+
not make much sense if vertical text is laid out so that horizontal
3045+
scripts' glyph tops point left. An alternative set of values could
3046+
be <code>[ top | bottom ] && [ left | right ]</code>, with the appropriate
3047+
value used for the current writing mode. This also makes it simple
3048+
for PRC Chinese text to specify the correct behavior in the UA style
3049+
sheet.</p>
30403050

30413051
<div class="note">
30423052
<p>Note, the preferred position of emphasis marks depends on the
@@ -3111,7 +3121,7 @@ <h3 id="text-shadow"><span class="secno"></span>
31113121
</tr>
31123122
<tr>
31133123
<th>Applies to:</th>
3114-
<td>all elements and generated content</td>
3124+
<td>all elements</td>
31153125
</tr>
31163126
<tr>
31173127
<th>Inherited:</th>
@@ -3196,7 +3206,7 @@ <h3 id="text-outline"><span class="secno"></span>
31963206
</tr>
31973207
<tr>
31983208
<th>Applies to:</th>
3199-
<td>all elements and generated content</td>
3209+
<td>all elements</td>
32003210
</tr>
32013211
<tr>
32023212
<th>Inherited:</th>
@@ -3260,7 +3270,7 @@ <h3 id="text-overflow"><a name="text-overflow-props"></a><a name="text-overflow-
32603270
</tr>
32613271
<tr>
32623272
<th>Applies to:</th>
3263-
<td>block-level, inline-block elements and table cells</td>
3273+
<td>block containers</td>
32643274
</tr>
32653275
<tr>
32663276
<th>Inherited:</th>
@@ -3377,7 +3387,14 @@ <h3 id="text-transform"><span class="secno"></span>
33773387
<p>The definition of fullwidth and halfwidth forms can be found on the
33783388
Unicode consortium web site at [[!UAX11]].</p>
33793389

3380-
<h2 id="changes2003"><span class="secno"></span>
3390+
<div class="example">
3391+
<p>The following example converts the ASCII characters in abbreviations
3392+
in Japanese to their fullwidth variants so that they lay out and line
3393+
break like ideographs:
3394+
<pre>abbr:lang(ja) { text-transform: fullwidth; }</pre>
3395+
</div>
3396+
3397+
<h2 id="changes"><span class="secno"></span>
33813398
Changes from the <a href="http://www.w3.org/TR/2003/CR-css3-text-20030514/">May
33823399
2003 CSS3 Text <abbr title="Candidate Recommendation">CR</abbr></a></h2>
33833400

0 commit comments

Comments
 (0)