Skip to content

Commit 44e5038

Browse files
committed
1 parent 57e0908 commit 44e5038

2 files changed

Lines changed: 34 additions & 29 deletions

File tree

css3-text/Overview.html

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -838,9 +838,9 @@ <h3 id=tab-size><span class=secno>3.2. </span> Tab Character Size: the
838838
<td>specified value
839839
</table>
840840

841-
<p>This property determines the measure of the tab character (U+0009) when
842-
rendered. Integers represent the measure in space characters (U+0020).
843-
Negative integers are not allowed.
841+
<p>This property determines the <a href="#tab-size1"><i>tab size</i></a>
842+
used to render preserved tab characters (U+0009). Integers represent the
843+
measure in space characters (U+0020). Negative values are not allowed.
844844

845845
<h3 id=white-space-rules><span class=secno>3.3. </span> The White Space
846846
Processing Rules</h3>
@@ -897,11 +897,12 @@ <h3 id=white-space-rules><span class=secno>3.3. </span> The White Space
897897
removed.
898898

899899
<li>Each tab is rendered as a horizontal shift that lines up the start
900-
edge of the next glyph with the next tab stop. Tab stops occur at points
901-
that are multiples of the width of a space (U+0020) rendered in the
902-
block's font from the block's starting content edge. How many spaces is
903-
given by the &lsquo;<a href="#tab-size0"><code
904-
class=property>tab-size</code></a>&rsquo; property.
900+
edge of the next glyph with the next tab stop. <dfn id=tab-stops>Tab
901+
stops</dfn> occur at points that are multiples of the <a
902+
href="#tab-size1"><i>tab size</i></a> from the block's starting content
903+
edge. The <dfn id=tab-size1>tab size</dfn> is given by the &lsquo;<a
904+
href="#tab-size0"><code class=property>tab-size</code></a>&rsquo;
905+
property.
905906

906907
<li>A sequence of collapsible spaces at the end of a line is removed.
907908

@@ -1433,12 +1434,13 @@ <h3 id=word-break><span class=secno>4.2. </span> Word Breaking Rules: the
14331434
<dt><dfn id=keep-all title="word-break:keep-all">&lsquo;<code
14341435
class=css>keep-all</code>&rsquo;</dfn>
14351436

1436-
<dd>Break opportunties between ID/ID, AL/ID, and ID/AL as defined in <a
1437-
href="#UAX14" rel=biblioentry>[UAX14]<!--{{UAX14}}--></a> are prohibited.
1438-
Otherwise this option is equivalent to &lsquo;<code
1437+
<dd> Implicit breaks between letters are suppressed, i.e. break
1438+
opportunties between pairs of ID, AL, AI, and HL characters as defined in
1439+
<a href="#UAX14" rel=biblioentry>[UAX14]<!--{{UAX14}}--></a> are are
1440+
prohibited. Otherwise this option is equivalent to &lsquo;<code
14391441
class=css>normal</code>&rsquo;. This option produces a style where
14401442
sequences of ideographic characters do not break, and word separator
1441-
characters are present to create line-breaking opportunities. Such sytle
1443+
characters are present to create line-breaking opportunities. This style
14421444
is sometimes seen in Korean magazines, and is also useful for
14431445
mixed-script text where CJK snippets are mixed into another language that
14441446
uses spaces for seapration.
@@ -3186,11 +3188,12 @@ <h3 id=hanging-punctuation><span class=secno>9.2. </span> Hanging
31863188
of a line. At most one punctuation character may <a
31873189
href="#hangs"><i>hang</i></a> at each edge of the line.
31883190

3189-
<p>A hanging punctuation mark is still enclosed inside its inline box and
3190-
participates in text justification: its character advance width is just
3191-
not measured when determining how much content fits on the line, how much
3192-
the line's contents need to be expanded or compressed for justification,
3193-
or how to position the content within the line box for text alignment.
3191+
<p>A <i>hanging</i> punctuation mark is still enclosed inside its inline
3192+
box and participates in text justification: its character advance width is
3193+
just not measured when determining how much content fits on the line, how
3194+
much the line's contents need to be expanded or compressed for
3195+
justification, or how to position the content within the line box for text
3196+
alignment.
31943197

31953198
<p><dfn id=stops-and-commas>Stops and commas</dfn> allowed to <a
31963199
href="#hangs"><i>hang</i></a> include:

css3-text/Overview.src.html

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,9 @@ <h3 id="tab-size">
505505
</tbody>
506506
</table>
507507

508-
<p>This property determines the measure of the tab character (U+0009)
509-
when rendered. Integers represent the measure in space characters (U+0020).
510-
Negative integers are not allowed.
508+
<p>This property determines the <i>tab size</i> used to render preserved tab characters (U+0009).
509+
Integers represent the measure in space characters (U+0020).
510+
Negative values are not allowed.
511511

512512
<h3 id="white-space-rules">
513513
The White Space Processing Rules</h3>
@@ -552,12 +552,11 @@ <h3 id="white-space-rules">
552552
<ol>
553553
<li>A sequence of collapsible spaces at the beginning of a line is
554554
removed.
555-
<li>Each tab is rendered as a horizontal shift that lines up
556-
the start edge of the next glyph with the next tab stop.
557-
Tab stops occur at points that are multiples of the width of a
558-
space (U+0020) rendered in the block's font from the block's
559-
starting content edge. How many spaces is given by the 'tab-size'
560-
property.</li>
555+
<li>Each tab is rendered as a horizontal shift
556+
that lines up the start edge of the next glyph with the next tab stop.
557+
<dfn>Tab stops</dfn> occur at points that are multiples of the <i>tab size</i>
558+
from the block's starting content edge.
559+
The <dfn>tab size</dfn> is given by the 'tab-size' property.
561560
<li>A sequence of collapsible spaces at the end of a line is removed.
562561
<li>If spaces or tabs at the end of a line are non-collapsible but
563562
have 'text-wrap' set to 'normal' or 'avoid' the UA may visually
@@ -969,12 +968,15 @@ <h3 id="word-break">
969968
the text is predominantly using CJK characters with few non-CJK excerpts
970969
and it is desired that the text be better distributed on each line.</dd>
971970
<dt><dfn title="word-break:keep-all">''keep-all''</dfn></dt>
972-
<dd>Break opportunties between ID/ID, AL/ID, and ID/AL as defined in [[UAX14]]
973-
are prohibited. Otherwise this option is equivalent to ''normal''.
971+
<dd>
972+
Implicit breaks between letters are suppressed, i.e.
973+
break opportunties between pairs of ID, AL, AI, and HL characters
974+
as defined in [[UAX14]] are are prohibited.
975+
Otherwise this option is equivalent to ''normal''.
974976
This option produces a style where sequences of ideographic characters do
975977
not break, and word separator characters are present to create line-breaking
976978
opportunities.
977-
Such sytle is sometimes seen in Korean magazines, and is also useful for
979+
This style is sometimes seen in Korean magazines, and is also useful for
978980
mixed-script text where CJK snippets are mixed into another language that
979981
uses spaces for seapration.</dd>
980982
</dl>

0 commit comments

Comments
 (0)