Skip to content

Commit 5efd48c

Browse files
committed
Consolidate/remove/defer some issues, fix some minor glitches.
1 parent b2b4811 commit 5efd48c

2 files changed

Lines changed: 86 additions & 109 deletions

File tree

css3-text/Overview.html

Lines changed: 59 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929

3030
<h1>CSS Text Level 3</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 January
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 12 January
3333
2012</h2>
3434

3535
<dl>
3636
<dt>This version:
3737

38-
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/07
39-
01:20:41 $ (CVS $Revision$)</a> <!--
40-
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120110/">http://www.w3.org/TR/2012/WD-css3-text-20120110/</a></dd>
38+
<dd><a href="http://dev.w3.org/csswg/css3-text/">$Date: 2012/01/10
39+
01:27:22 $ (CVS $Revision$)</a> <!--
40+
<dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120112/">http://www.w3.org/TR/2012/WD-css3-text-20120112/</a></dd>
4141
-->
4242

4343

@@ -275,7 +275,7 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
275275
the &lsquo;<code class=property>text-align</code>&rsquo; property</a>
276276
<ul class=toc>
277277
<li><a href="#character-alignment"><span class=secno>7.1.1.
278-
</span>Details on Character-based Alignment in a Table Column</a>
278+
</span>Character-based Alignment in a Table Column</a>
279279
</ul>
280280

281281
<li><a href="#text-align-last"><span class=secno>7.2. </span> Last Line
@@ -651,12 +651,6 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
651651
<pre>abbr:lang(ja) { text-transform: full-width; }</pre>
652652
</div>
653653

654-
<p class=issue>All-caps text sometimes has special typographic
655-
considerations. For example: Punctuation and number glyphs might be
656-
adjusted for the higher "center of gravity" (see the <a
657-
href="http://www.microsoft.com/typography/otspec/features_ae.htm#case">case</a>
658-
feature in OpenType). Should we turn that on by default, as they suggest?
659-
660654
<p class=issue>CSS may introduce the ability to create custom mapping
661655
tables for less common text transforms, such as by an &lsquo;<a
662656
href="#text-transform0"><code class=css>@text-transform</code></a>&rsquo;
@@ -698,11 +692,7 @@ <h2 id=white-space-processing><span class=secno>3. </span> White Space
698692

699693
<p>Control characters (Unicode class Cc) other than tab (U+0009), line feed
700694
(U+000A), space (U+0020), and the bidi formatting characters
701-
(U+202<var>x</var>) should be rendered as invisible zero-width characters.
702-
UAs may instead treat them as visible characters. (Note, however, that
703-
this will usually result in them being rendered as missing glyphs.) <span
704-
class=issue>What's the line-breaking behavior? Effects on joining? Can we
705-
just copy the behavior of some zero-width Unicode character?</span>
695+
(U+202<var>x</var>) are ignored for the purpose of rendering.
706696

707697
<h3 id=white-space-collapsing><span class=secno>3.1. </span> White Space
708698
Collapsing: the &lsquo;<a href="#text-space-collapse"><code
@@ -1190,29 +1180,28 @@ <h2 id=line-breaking><span class=secno>4. </span> Line Breaking and Word
11901180
defined by the boundary between two characters, the properties on the
11911181
element containing the boundary control breaking.
11921182
<!-- http://lists.w3.org/Archives/Public/www-style/2008Dec/0043.html -->
1193-
<span class=issue>What about Zs outside of U+0020?</span> For break
1194-
opportunities given by the first or last character of a box, the break
1195-
occurs immediately before/after the box rather than breaking the box.
1196-
1197-
<p class=note>Further information on line breaking conventions can be found
1198-
in <a href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a> and <a
1199-
href="#JIS4051" rel=biblioentry>[JIS4051]<!--{{JIS4051}}--></a> for
1200-
Japanese, <a href="#ZHMARK" rel=biblioentry>[ZHMARK]<!--{{ZHMARK}}--></a>
1201-
for Chinese, and in <a href="#UAX14"
1202-
rel=biblioentry>[UAX14]<!--{{!UAX14}}--></a> for all scripts in Unicode.
1203-
<!-- The CSS Working Group notes that although UAX 14 contains a wealth of
1183+
For break opportunities given by the first or last character of a box, the
1184+
break occurs immediately before/after the box rather than breaking the
1185+
box.
1186+
1187+
<div class=note>
1188+
<p>Further information on line breaking conventions can be found in <a
1189+
href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a> and <a
1190+
href="#JIS4051" rel=biblioentry>[JIS4051]<!--{{JIS4051}}--></a> for
1191+
Japanese, <a href="#ZHMARK" rel=biblioentry>[ZHMARK]<!--{{ZHMARK}}--></a>
1192+
for Chinese, and in <a href="#UAX14"
1193+
rel=biblioentry>[UAX14]<!--{{!UAX14}}--></a> for all scripts in Unicode.
1194+
<!-- The CSS Working Group notes that although UAX 14 contains a wealth of
12041195
information about line breaking conventions, a literal implementation
12051196
of its algorithm has been found to be inadequate in multiple situations. -->
1197+
12061198

1207-
<p class=issue>Any guidance for appropriate references here would be much
1208-
appreciated.
1209-
1210-
<p class=issue>It is not clear whether this section handles Southeast Asian
1211-
scripts well. Additionally, some guidance should be provided on how to
1212-
break or not break Southeast Asian in the absence of a dictionary. (See
1213-
e.g. <a
1214-
href="http://lists.w3.org/Archives/Public/www-style/2011Feb/0126.html">notes
1215-
on Thai</a>.)
1199+
<p class=issue>Any guidance for appropriate references here would be much
1200+
appreciated. <!-- Additionally, some guidance could be provided on how
1201+
to break or not break Southeast Asian in the absence of a dictionary.
1202+
(See e.g. <a href="http://lists.w3.org/Archives/Public/www-style/2011Feb/0126.html">notes on Thai</a>.) -->
1203+
1204+
</div>
12161205

12171206
<p>Floated and absolutely-positioned elements do not introduce a line
12181207
breaking opportunity. The line breaking behavior of a replaced element is
@@ -1442,7 +1431,7 @@ <h3 id=word-break><span class=secno>4.2. </span> Word Breaking Rules: the
14421431
<div class=example>
14431432
<p>Here's a mixed-script sample text:
14441433

1445-
<pre>这是一些汉字, and some Latin text,<!--
1434+
<pre>这是一些汉字, and some Latin,<!--
14461435
--> &#x0648; &#x06A9;&#x0645;&#x06CC; &#x0646;&#x0648;&#x0634;&#x062A;&#x0646;&#x0646; &#x0639;&#x0631;&#x0628;&#x06CC;, <!--
14471436
-->and some complex LTR.</pre>
14481437

@@ -1453,21 +1442,21 @@ <h3 id=word-break><span class=secno>4.2. </span> Word Breaking Rules: the
14531442
<dt>&lsquo;<code class=css>word-break: normal</code>&rsquo;
14541443

14551444
<dd>
1456-
<pre>这·是·一·些·汉·字,·and·some·Latin·text,<!--
1445+
<pre>这·是·一·些·汉·字,·and·some·Latin,<!--
14571446
-->·&#x0648;·&#x06A9;&#x0645;&#x06CC;·&#x0646;&#x0648;&#x0634;&#x062A;&#x0646;&#x0646;·&#x0639;&#x0631;&#x0628;&#x06CC;·<!--
14581447
-->and·some·complex·LTR.</pre>
14591448

14601449
<dt>&lsquo;<code class=css>word-break: break-all</code>&rsquo;
14611450

14621451
<dd>
1463-
<pre>这·是·一·些·汉·字·a·n·d·s·o·m·e·L·a·t·i·n·t·e·x·t,<!--
1452+
<pre>这·是·一·些·汉·字·a·n·d·s·o·m·e·L·a·t·i·n,<!--
14641453
-->·&#x0648;·&#xFB90;·&#xFEE4;·&#xFEF0;·&#xFEE7;·&#xFEEE;·&#xFEB7;·&#xFE98;·&#xFEE6;·&#xFECB;·&#xFEAE;·&#xFE91;·&#xFEF0;,·<!--
14651454
-->a·n·d·s·o·m·e·c·o·m·p·l·e·x·L·T·R.</pre>
14661455

14671456
<dt>&lsquo;<code class=css>word-break: keep-all</code>&rsquo;
14681457

14691458
<dd>
1470-
<pre>这是一些汉字,·and·some·Latin·text,<!--
1459+
<pre>这是一些汉字,·and·some·Latin,<!--
14711460
-->·&#x0648;·&#x06A9;&#x0645;&#x06CC;·&#x0646;&#x0648;&#x0634;&#x062A;&#x0646;&#x0646;·&#x0639;&#x0631;&#x0628;&#x06CC;,·<!--
14721461
-->and·some·complex·LTR.</pre>
14731462
</dl>
@@ -1815,9 +1804,8 @@ <h3 id=overflow-wrap><span class=secno>6.2. </span> Emergency Wrapping: the
18151804
<dd>An unbreakable "word" may be broken at an arbitrary point if there are
18161805
no otherwise-acceptable break points in the line. Shaping characters are
18171806
still shaped as if the word were not broken, and grapheme clusters must
1818-
together stay as one unit. If specified together with &lsquo;<code
1819-
class=css>hyphenate</code>&rsquo;, valid hyphenation takes precedence
1820-
over &lsquo;<code class=css>break-word</code>&rsquo; breaking.
1807+
together stay as one unit. No hyphenation character is inserted at the
1808+
break point.
18211809
</dl>
18221810

18231811
<p>Break opportunities not part of &lsquo;<code class=css>overflow-wrap:
@@ -1882,9 +1870,9 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
18821870
class=property>match-parent</code>&rsquo; (see prose)
18831871
</table>
18841872

1885-
<p>This property describes how inline contents of a block are horizontally
1886-
aligned if the contents do not completely fill the line box. Values have
1887-
the following meanings:
1873+
<p>This property describes how inline contents of a block are aligned along
1874+
the inline axis if the contents do not completely fill the line box.
1875+
Values have the following meanings:
18881876

18891877
<dl>
18901878
<dt><dfn id=start title="text-align:start">&lsquo;<code
@@ -1900,18 +1888,18 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
19001888
<dt><dfn id=left title="text-align:left">&lsquo;<code
19011889
class=css>left</code>&rsquo;</dfn>
19021890

1903-
<dd>The inline contents are aligned to the left edge of the line box. In
1904-
vertical text, &lsquo;<code class=property>left</code>&rsquo; aligns to
1905-
the edge of the line box that would be the start edge for left-to-right
1906-
text.
1891+
<dd>The inline contents are aligned to the left edge of the line box. (In
1892+
vertical writing modes, &lsquo;<code class=property>left</code>&rsquo;
1893+
aligns to the edge of the line box that would be the start edge for
1894+
left-to-right text.)
19071895

19081896
<dt><dfn id=right title="text-align:right">&lsquo;<code
19091897
class=css>right</code>&rsquo;</dfn>
19101898

1911-
<dd>The inline contents are aligned to the right edge of the line box. In
1912-
vertical text, &lsquo;<code class=property>right</code>&rsquo; aligns to
1913-
the edge of the line box that would be the end edge for left-to-right
1914-
text.
1899+
<dd>The inline contents are aligned to the right edge of the line box. (In
1900+
vertical writing modes, &lsquo;<code class=property>right</code>&rsquo;
1901+
aligns to the edge of the line box that would be the end edge for
1902+
left-to-right text.)
19151903

19161904
<dt><dfn id=center title="text-align:center">&lsquo;<code
19171905
class=css>center</code>&rsquo;</dfn>
@@ -1930,9 +1918,10 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
19301918
href="http://www.w3.org/TR/CSS21/syndata.html#value-def-string"><span
19311919
class=value-inst-string>&lt;string&gt;</span></a></span></code>&rsquo;</dfn>
19321920

1933-
<dd>The string must be a single character; otherwise the declaration must
1934-
be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>.
1935-
When applied to a table cell, specifies the <dfn
1921+
<dd>The string must be a single <a href="#character"><i>character</i></a>;
1922+
otherwise the declaration must be <a
1923+
href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. When
1924+
applied to a table cell, specifies the <dfn
19361925
id=alignment-character>alignment character</dfn> around which the cell's
19371926
contents will align. See <a href="#character-alignment">below</a> for
19381927
further details and how this value combines with keywords.
@@ -1952,11 +1941,11 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
19521941
<dt><dfn id=start-end title="text-align:start end">&lsquo;<code
19531942
class=css>start end</code>&rsquo;</dfn>
19541943

1955-
<dd>Specifies &lsquo;<code class=css>start</code>&rsquo;&lsquo;<code
1956-
class=css> alignment of the first line and any line immediately after a
1957-
forced line break; and </code>&rsquo;&lsquo;<code
1958-
class=property>end</code>&rsquo;&lsquo;<code class=css> alignment of any
1959-
remaining lines not affected by </code>&rsquo;text-align-last'.
1944+
<dd>Specifies &lsquo;<code class=css>start</code>&rsquo; alignment of the
1945+
first line and any line immediately after a forced line break; and
1946+
&lsquo;<code class=css>end</code>&rsquo; alignment of any remaining lines
1947+
not affected by &lsquo;<a href="#text-align-last0"><code
1948+
class=property>text-align-last</code></a>&rsquo;.
19601949
</dl>
19611950

19621951
<p>A block of text is a stack of <a
@@ -1988,14 +1977,15 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
19881977
href="http://dev.w3.org/csswg/css3-text/#white-space-rules">white space
19891978
processing rules</a>.
19901979

1991-
<h4 id=character-alignment><span class=secno>7.1.1. </span>Details on
1992-
Character-based Alignment in a Table Column</h4>
1980+
<h4 id=character-alignment><span class=secno>7.1.1. </span>Character-based
1981+
Alignment in a Table Column</h4>
19931982

1994-
<p>When multiple cells in a column have an alignment character specified,
1995-
the alignment character of each such cell in the column is centered along
1996-
a single column-parallel axis and the rest of the text in the column
1997-
shifted accordingly. (Note that the strings do not have to be the same for
1998-
each cell, although they usually are.)
1983+
<p>When multiple cells in a column have an <a
1984+
href="#alignment-character"><i>alignment character</i></a> specified, the
1985+
alignment character of each such cell in the column is centered along a
1986+
single column-parallel axis and the rest of the text in the column shifted
1987+
accordingly. (Note that the strings do not have to be the same for each
1988+
cell, although they usually are.)
19991989

20001990
<p>If the alignment character appears more than once in the text, the first
20011991
instance is used for alignment. If the alignment character does not appear

0 commit comments

Comments
 (0)