@@ -2364,9 +2364,8 @@ <h4 id=justify-symbols><span class=secno>7.3.2. </span> Handling Symbols
23642364
23652365 < h4 id =justify-limits > < span class =secno > 7.3.3. </ span > Unexpandable Text</ h4 >
23662366
2367- < p > The ‘< a href ="#word-spacing0 "> < code
2368- class =property > word-spacing</ code > </ a > ’ property can specify limits on
2369- < a href ="#expansion-opportunity "> < i > expansion opportunities</ i > </ a >
2367+ < p > The UA may define limits on < a
2368+ href ="#expansion-opportunity "> < i > expansion opportunities</ i > </ a >
23702369 introduced by < a href ="#word-separator "> < i > word separators</ i > </ a > . How
23712370 any remaining space is distributed once all < a
23722371 href ="#expansion-opportunity "> < i > expansion opportunities</ i > </ a > reach
@@ -2410,8 +2409,7 @@ <h4 id=justify-algos><span class=secno>7.3.5. </span> Possible Algorithms</h4>
24102409 justification algorithm might use a simple greedy method for determining
24112410 line breaks, then distribute leftover space. This algorithm could follow
24122411 the guidelines by expanding word spaces first, expanding between letters
2413- only if ‘< a href ="#word-spacing0 "> < code
2414- class =property > word-spacing</ code > </ a > ’ hit a limit.
2412+ only if the spaces between words hit a limit defined by the UA.
24152413
24162414 < p > A more sophisticated but slower ‘< code class =css > inter-word</ code > ’
24172415 justification algorithm might use a Knuth/Plass method where < a
@@ -2465,10 +2463,10 @@ <h2 id=spacing><span class=secno>8. </span> Spacing</h2>
24652463 example, double or eliminate word spacing.
24662464
24672465 < div class =example >
2468- < p > In the following example, word spacing is halved, but may expand up to
2469- its full amount if needed for text justification.
2466+ < p > In the following example, word spacing is halved, but may expand
2467+ if needed for text justification.
24702468
2471- < pre > p { word-spacing: -50% 0% ; }</ pre >
2469+ < pre > p { word-spacing: -50%; }</ pre >
24722470 </ div >
24732471
24742472 < h3 id =word-spacing > < span class =secno > 8.1. </ span > Word Spacing: the ‘< a
@@ -2486,7 +2484,7 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
24862484 < th > < a href ="#values "> Value</ a > :
24872485
24882486 < td > [ normal | < var > <length></ var > |
2489- < var > <percentage></ var > ]{1,3}
2487+ < var > <percentage></ var > ]
24902488
24912489 < tr >
24922490 < th > Initial:
@@ -2533,10 +2531,9 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
25332531 < td > N/A
25342532 </ table >
25352533
2536- < p > This property specifies the optimum, maximum, and minimum spacing (in
2537- that order < span class =issue > Is this a good order?</ span > ) between
2538- “words”. Missing values are assumed to be ‘< code
2539- class =css > normal</ code > ’. Values are interpreted as defined below:
2534+ < p > This property specifies additional spacing between “words”. Missing
2535+ values are assumed to be ‘< code class =css > normal</ code > ’. Values are
2536+ interpreted as defined below:
25402537
25412538 < dl >
25422539 < dt > < dfn id =normal3 title ="normal!!word-spacing "> ‘< code
@@ -2580,27 +2577,29 @@ <h3 id=word-spacing><span class=secno>8.1. </span> Word Spacing: the ‘<a
25802577
25812578 < pre > p { word-spacing: 0.5ch; }</ pre >
25822579 </ div >
2583-
2584- < p > In the absence of justification the optimum spacing must be used. The
2585- text justification process may alter the spacing from its optimum (see the
2586- < a href ="#text-justify "> ‘ < code class = property > text-justify</ code > ’ </ a >
2587- property, above) but must not violate the minimum spacing limit and should
2588- also avoid exceeding the maximum. The UA may also use the difference
2589- between the minimum/maximum limits and the optimum as input into a
2590- weighting algorithm for justification.
2580+ <!--
2581+ <p>In the absence of justification the optimum spacing must be used.
2582+ The text justification process may alter the spacing from its optimum
2583+ (see the <a href="#text-justify">' text-justify'</a> property, above)
2584+ but must not violate the minimum spacing limit
2585+ and should also avoid exceeding the maximum.
2586+ The UA may also use the difference between the minimum/maximum limits
2587+ and the optimum as input into a weighting algorithm for justification.
25912588
25922589 <p>The used optimum and maximum spacing is floored at the minimum.
2593- Similarly if the maximum is less than the optimum, then the used optimum
2594- is limited to the used maximum.
2595-
2596- < p > < dfn id =normal-spacing title ="normal spacing "> Normal spacing</ dfn > :
2597- Although ‘< code class =css > normal</ code > ’ minimum and maximum spacing
2598- limits are UA-defined, they must be defined relative to the optimum so
2599- that the limits increase and decrease with changes to the optimum spacing.
2600- Normal limits may also vary according to the value of the < a
2601- href ="#text-justify "> ‘< code class =property > text-justify</ code > ’</ a >
2602- property, the element's language, some measure of the amount of text on a
2603- line (e.g. block width divided by font size), and/or other factors.
2590+ Similarly if the maximum is less than the optimum,
2591+ then the used optimum is limited to the used maximum.
2592+
2593+ <p><dfn id="normal-spacing" title="normal spacing">Normal spacing</dfn>:
2594+ Although ''normal'' minimum and maximum spacing limits are UA-defined,
2595+ they must be defined relative to the optimum
2596+ so that the limits increase and decrease with changes to the optimum spacing.
2597+ Normal limits may also vary according to
2598+ the value of the <a href="#text-justify">'text-justify'</a> property,
2599+ the element's language,
2600+ some measure of the amount of text on a line (e.g. block width divided by font size),
2601+ and/or other factors.
2602+ -->
26042603
26052604 < p > < dfn id =word-separator
26062605 title ="word-separator character | word separator "> Word-separator
@@ -4144,9 +4143,6 @@ <h2 class=no-num id=index> Index</h2>
41444143 title ="section 8.2. "> < strong > 8.2.</ strong > </ a >
41454144 </ ul >
41464145
4147- < li > normal spacing, < a href ="#normal-spacing "
4148- title ="section 8.1. "> < strong > 8.1.</ strong > </ a >
4149-
41504146 < li > nowrap
41514147 < ul >
41524148 < li > white-space, < a href ="#nowrap "
@@ -4507,7 +4503,7 @@ <h2 class=no-num id=property-index> Property Index</h2>
45074503 < tr >
45084504 < th > < a class =property href ="#word-spacing0 "> word-spacing</ a >
45094505
4510- < td > [ normal | <length> | <percentage>]{1,3}
4506+ < td > [ normal | <length> | <percentage>]
45114507
45124508 < td > normal
45134509
0 commit comments