3232
3333 < h1 > CSS Text Level 3</ h1 >
3434
35- < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 19 July 2012</ h2 >
35+ < h2 class ="no-num no-toc " id =longstatus-date > Editor's Draft 31 July 2012</ h2 >
3636
3737 < dl >
3838 < dt > This version:
3939
4040 < dd > < a href ="http://dev.w3.org/csswg/css3-text/ "> $Date$ (CVS
4141 $Revision$)</ a > <!--
42- <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120719 /">http://www.w3.org/TR/2012/WD-css3-text-20120719 /</a></dd>
42+ <dd><a href="http://www.w3.org/TR/2012/WD-css3-text-20120731 /">http://www.w3.org/TR/2012/WD-css3-text-20120731 /</a></dd>
4343 -->
4444
4545
@@ -1199,8 +1199,8 @@ <h3 id=line-break-details><span class=secno>5.1. </span> Line Breaking
11991199
12001200 < li > For < a href ="#soft-wrap-opportunity "> < i > soft wrap
12011201 opportunities</ i > </ a > created by characters that disappear at the line
1202- break (i.e. spaces ), properties on the element containing that character
1203- control the line breaking at that opportunity. For < a
1202+ break (e.g. U+0020 SPACE ), properties on the element containing that
1203+ character control the line breaking at that opportunity. For < a
12041204 href ="#soft-wrap-opportunity "> < i > soft wrap opportunities</ i > </ a > defined
12051205 by the boundary between two characters, the properties on the element
12061206 containing the boundary control breaking.
@@ -2571,15 +2571,15 @@ <h2 id=spacing><span class=secno>8. </span> Spacing</h2>
25712571 < pre > p { word-spacing: -50% 0%; }</ pre >
25722572 </ div >
25732573
2574- < p id =spacing-limit > The < dfn
2575- id =ltspacing-limitgt > <spacing-limit ></ dfn > value type, which
2574+ < p id =spacing-limits > The < dfn
2575+ id =ltspacing-limitsgt > <spacing-limits ></ dfn > value type, which
25762576 represents optimum, minimum, and maximum spacing in ‘< a
25772577 href ="#word-spacing0 "> < code class =property > word-spacing</ code > </ a > ’ and
25782578 ‘< a href ="#letter-spacing0 "> < code
25792579 class =property > letter-spacing</ code > </ a > ’, is defined as
25802580
25812581 < pre class =prod > < dfn
2582- id =ltspacing-limit > <spacing-limit > </ dfn > = [ normal | <length> | <percentage>]{1,3}</ pre >
2582+ id =ltspacing-limits > <spacing-limits > </ dfn > = [ normal | <length> | <percentage>]{1,3}</ pre >
25832583
25842584 < p > If three values are specified, they represent the optimum, minimum, and
25852585 maximum in that order. If only two values are specified, then the first
@@ -2588,54 +2588,51 @@ <h2 id=spacing><span class=secno>8. </span> Spacing</h2>
25882588 minimum, and maximum. The values are interpreted as defined below:
25892589
25902590 < dl >
2591- < dt > < dfn id =normal3 title ="<spacing-limit >:normal "> ‘< code
2591+ < dt > < dfn id =normal3 title ="<spacing-limits >:normal "> ‘< code
25922592 class =css > normal</ code > ’</ dfn >
25932593
2594- < dd > Specifies the normal optimum/minimum/maximum spacing, as defined by
2595- the current font and/or the user agent. See < a
2596- href =" #normal-spacing " > below </ a > .
2594+ < dd > Specifies normal spacing as defined by the current font and/or the
2595+ user agent; see < a href =" #normal-spacing " > below </ a > . A ‘ < code
2596+ class = css > normal </ code > ’ optimum spacing value computes to zero .
25972597
25982598 < dt > < dfn id =ltlengthgt
2599- title ="<spacing-limit >:<length> "> ‘< code
2599+ title ="<spacing-limits >:<length> "> ‘< code
26002600 class =css > <length></ code > ’</ dfn >
26012601
2602- < dd > Specifies extra spacing < em > in addition to</ em > the normal optimum
2603- spacing. Values may be negative, but there may be
2604- implementation-dependent limits.
2602+ < dd > Specifies extra spacing < em > in addition to</ em > the intrinsic
2603+ inter-character/inter-word spacing defined by the font. Values may be
2604+ negative, but there may be implementation-dependent limits.
26052605
26062606 < dt > < dfn id =ltpercentagegt
2607- title ="<spacing-limit >:<percentage> "> ‘< code
2607+ title ="<spacing-limits >:<percentage> "> ‘< code
26082608 class =css > <percentage></ code > ’</ dfn >
26092609
26102610 < dd > Specifies the additional spacing as a percentage of the affected
2611- character. Only valid on ‘< a href ="#word-spacing0 "> < code
2612- class =property > word-spacing</ code > </ a > ’. Negative values are not
2613- allowed.
2611+ character's < i > advance measure</ i > . Only valid on ‘< a
2612+ href ="#word-spacing0 "> < code class =property > word-spacing</ code > </ a > ’.
26142613 </ dl >
26152614
26162615 < p > In the absence of justification the optimum spacing is be used. The text
26172616 justification process may alter the spacing from its optimum (see the < a
26182617 href ="#text-justify "> ‘< code class =property > text-justify</ code > ’</ a >
26192618 property, above) but must not violate the minimum spacing limit and should
2620- also avoid exceeding the maximum.
2619+ also avoid exceeding the maximum. The UA may also use the difference
2620+ between the minimum/maximum limits and the optimum as input into a
2621+ weighting algorithm for justification.
26212622
26222623 < p > The minimum is treated as a hard constraint: if the maximum is less than
26232624 the minimum, then the used it is set to the minimum. Likewise for the
26242625 optimum. Similarly if the maximum is less than the optimum, then the used
26252626 optimum is set to the used maximum.
26262627
26272628 < p > < dfn id =normal-spacing > Normal spacing</ dfn > : Although ‘< code
2628- class =css > normal</ code > ’ spacing is UA-defined, the normal minimum and
2629- maximum must be defined relative to the optimum so that the minimum and
2630- maximum limits increase and decrease with changes to the optimum spacing.
2631- These limits may also vary according to some measure of the amount of text
2632- on a line (e.g. block width divided by font size), as larger measures can
2633- accommodate tighter spacing constraints. Normal optimum/minimum/maximum
2634- spacing may also vary based on the value of the < a
2629+ class =css > normal</ code > ’ minimum and maximum spacing limits are
2630+ UA-defined, they must be defined relative to the optimum so that the
2631+ limits increase and decrease with changes to the optimum spacing. Normal
2632+ limits may also vary according to the value of the < a
26352633 href ="#text-justify "> ‘< code class =property > text-justify</ code > ’</ a >
2636- property, the element's language, and other factors. Normal spacing
2637- between a pair of < a href ="#connected-scripts "> connected</ a > or < a
2638- href ="#cursive-scripts "> cursive</ a > characters is always zero.
2634+ property, the element's language, some measure of the amount of text on a
2635+ line (e.g. block width divided by font size), and/or other factors.
26392636
26402637 < h3 id =word-spacing > < span class =secno > 8.1. </ span > Word Spacing: the ‘< a
26412638 href ="#word-spacing0 "> < code class =property > word-spacing</ code > </ a > ’
@@ -2651,7 +2648,7 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
26512648 < tr >
26522649 < th > < a href ="#values "> Value</ a > :
26532650
2654- < td > < a href ="#spacing-limit "> <spacing-limit ></ a >
2651+ < td > < a href ="#spacing-limits "> <spacing-limits ></ a >
26552652
26562653 < tr >
26572654 < th > Initial:
@@ -2681,8 +2678,9 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
26812678 < tr >
26822679 < th > Computed value:
26832680
2684- < td > as specified, except with <length> values computed to absolute
2685- lengths
2681+ < td > an optimum, minimum, and maximum value, each consisting of either an
2682+ absolute length, a percentage, or the keyword ‘< code
2683+ class =css > normal</ code > ’
26862684 </ table >
26872685
26882686 < p > This property specifies the minimum, maximum, and optimal spacing
@@ -2691,7 +2689,7 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
26912689 < p > Additional spacing is applied to each word-separator character left in
26922690 the text after the < a href ="#white-space-rules "> white space processing
26932691 rules</ a > have been applied, and should be applied half on each side of
2694- the character.
2692+ the character unless otherwise dictated by typographic tradition .
26952693
26962694 < div class =example >
26972695 < p > The following example will make all the spaces between words in Arabic
@@ -2732,7 +2730,7 @@ <h3 id=letter-spacing><span class=secno>8.2. </span> Tracking: the ‘<a
27322730 < tr >
27332731 < th > < a href ="#values "> Value</ a > :
27342732
2735- < td > < a href ="#spacing-limit "> <spacing-limit ></ a >
2733+ < td > < a href ="#spacing-limits "> <spacing-limits ></ a >
27362734
27372735 < tr >
27382736 < th > Initial:
@@ -2762,14 +2760,14 @@ <h3 id=letter-spacing><span class=secno>8.2. </span> Tracking: the ‘<a
27622760 < tr >
27632761 < th > Computed value:
27642762
2765- < td > as specified, except with <length> values computed to absolute
2766- lengths
2763+ < td > an optimum, minimum, and maximum value, each consisting of either an
2764+ absolute length, a percentage, or the keyword ‘< code
2765+ class =css > normal</ code > ’
27672766 </ table >
27682767
27692768 < p > This property specifies the minimum, maximum, and optimal spacing
27702769 between < a href ="#character "> < i > characters</ i > </ a > . Letter-spacing is
2771- applied in addition to any word-spacing. ‘< code
2772- class =css > normal</ code > ’ optimum letter-spacing is typically zero.
2770+ applied in addition to any word-spacing.
27732771
27742772 < p > Letter-spacing must not be applied at the beginning or at the end of a
27752773 line. At element boundaries, the total letter spacing between two
@@ -2811,8 +2809,8 @@ <h3 id=letter-spacing><span class=secno>8.2. </span> Tracking: the ‘<a
28112809 class =property > letter-spacing</ code > </ a > ’ applied to
28122810 < code > A&zwsp;B</ code > is identical to < code > AB</ code > .
28132811
2814- < p > When the resulting space between two characters is not the same as the
2815- default space, user agents should not use optional ligatures.
2812+ < p > When the effective letter-spacing between two characters is not zero,
2813+ user agents should not apply optional ligatures.
28162814
28172815 < h2 id =edge-effects > < span class =secno > 9. </ span > Edge Effects</ h2 >
28182816
@@ -5228,7 +5226,7 @@ <h2 class=no-num id=appendix-h-full-property-index>Appendix H: Full
52285226 < tr >
52295227 < th > < a class =property href ="#letter-spacing0 "> letter-spacing</ a >
52305228
5231- < td > <spacing-limit >
5229+ < td > <spacing-limits >
52325230
52335231 < td > normal
52345232
@@ -5571,7 +5569,7 @@ <h2 class=no-num id=appendix-h-full-property-index>Appendix H: Full
55715569 < tr >
55725570 < th > < a class =property href ="#word-spacing0 "> word-spacing</ a >
55735571
5574- < td > <spacing-limit >
5572+ < td > <spacing-limits >
55755573
55765574 < td > normal
55775575
0 commit comments