@@ -294,8 +294,8 @@ <h2 class="no-num no-toc" id=contents> Table of Contents</h2>
294
294
295
295
< li > < a href ="#overflow-wrap-property "> < span class =secno > 6.2. </ span >
296
296
Overflow Wrapping: the ‘< code
297
- class =property > word -wrap</ code > ’/‘< code
298
- class =property > overflow -wrap</ code > ’ property</ a >
297
+ class =property > overflow -wrap</ code > ’/‘< code
298
+ class =property > word -wrap</ code > ’ property</ a >
299
299
</ ul >
300
300
301
301
< li > < a href ="#justification "> < span class =secno > 7. </ span > Alignment and
@@ -1724,7 +1724,7 @@ <h3 id=hyphens-property><span class=secno>6.1. </span>Hyphenation Control:
1724
1724
< dd > Words may be broken at appropriate hyphenation points either as
1725
1725
determined by hyphenation characters inside the word or as determined
1726
1726
automatically by a language-appropriate hyphenation resource. Conditional
1727
- hyphenation characters inside a word, if present, take priority over
1727
+ hyphenation characters inside a word, if present, suppress the use of
1728
1728
automatic resources when determining hyphenation opportunities within the
1729
1729
word.
1730
1730
</ dl >
@@ -1746,9 +1746,9 @@ <h3 id=hyphens-property><span class=secno>6.1. </span>Hyphenation Control:
1746
1746
</ div >
1747
1747
1748
1748
< h3 id =overflow-wrap-property > < span class =secno > 6.2. </ span > Overflow
1749
- Wrapping: the ‘< a href ="#word -wrap "> < code
1750
- class =property > word -wrap</ code > </ a > ’/‘< a href ="#overflow -wrap "> < code
1751
- class =property > overflow -wrap</ code > </ a > ’ property</ h3 >
1749
+ Wrapping: the ‘< a href ="#overflow -wrap "> < code
1750
+ class =property > overflow -wrap</ code > </ a > ’/‘< a href ="#word -wrap "> < code
1751
+ class =property > word -wrap</ code > </ a > ’ property</ h3 >
1752
1752
1753
1753
< table class =propdef >
1754
1754
< tbody >
@@ -1826,7 +1826,7 @@ <h3 id=overflow-wrap-property><span class=secno>6.2. </span> Overflow
1826
1826
< dd > An unbreakable "word" may be broken at an arbitrary point if there are
1827
1827
no otherwise-acceptable break points in the line. Shaping characters are
1828
1828
still shaped as if the word were not broken, and grapheme clusters must
1829
- together stay as one unit. No hyphenation character is inserted at the
1829
+ stay together as one unit. No hyphenation character is inserted at the
1830
1830
break point.
1831
1831
</ dl >
1832
1832
@@ -2388,12 +2388,13 @@ <h4 id=justify-algos><span class=secno>7.3.5. </span> Possible Algorithms</h4>
2388
2388
word spaces first, expanding between letters only if the spaces between
2389
2389
words hit a limit defined by the UA.
2390
2390
2391
- < p > A more sophisticated but slower justification algorithm might use a
2392
- Knuth/Plass method where < a href ="#expansion-opportunity "> < i > expansion
2393
- opportunities</ i > </ a > and limits were assigned weights and assessed with
2394
- other line breaking considerations. This algorithm could follow the
2395
- guidelines by giving more weight to < a href ="#word-separator "> < i > word
2396
- separators</ i > </ a > than letter spacing.
2391
+ < p > A more sophisticated but harder-to-implement justification algorithm
2392
+ might use a Knuth/Plass method where < a
2393
+ href ="#expansion-opportunity "> < i > expansion opportunities</ i > </ a > and
2394
+ limits were assigned weights and assessed with other line breaking
2395
+ considerations. This algorithm could follow the guidelines by giving more
2396
+ weight to < a href ="#word-separator "> < i > word separators</ i > </ a > than
2397
+ letter spacing.
2397
2398
</ div >
2398
2399
2399
2400
< div class =example >
@@ -2517,8 +2518,7 @@ <h3 id=word-spacing-property><span class=secno>8.1. </span> Word Spacing:
2517
2518
class =css > <length></ code > ’</ dfn >
2518
2519
2519
2520
< dd > Specifies extra spacing < em > in addition to</ em > the intrinsic
2520
- inter-word spacing defined by the font. Values may be negative, but there
2521
- may be implementation-dependent limits.
2521
+ inter-word spacing defined by the font.
2522
2522
2523
2523
< dt > < dfn id =percentage
2524
2524
title ="<percentage>!!word-spacing "> ‘< code
@@ -2532,7 +2532,8 @@ <h3 id=word-spacing-property><span class=secno>8.1. </span> Word Spacing:
2532
2532
separator</ i > </ a > left in the text after the < a
2533
2533
href ="#white-space-rules "> white space processing rules</ a > have been
2534
2534
applied, and should be applied half on each side of the character unless
2535
- otherwise dictated by typographic tradition.
2535
+ otherwise dictated by typographic tradition. Values may be negative, but
2536
+ there may be implementation-dependent limits.
2536
2537
2537
2538
< div class =example >
2538
2539
< p > The following example will make all the spaces between words in Arabic
@@ -2550,15 +2551,16 @@ <h3 id=word-spacing-property><span class=secno>8.1. </span> Word Spacing:
2550
2551
2551
2552
< p > < dfn id =word-separator
2552
2553
title ="word-separator character | word separator "> Word-separator
2553
- characters</ dfn > include the space (U+0020), the no-break space (U+00A0),
2554
- the Ethiopic word space (U+1361), the Aegean word separators
2555
- (U+10100,U+10101), the Ugaritic word divider (U+1039F), and the Phoenician
2556
- Word Separator (U+1091F). If there are no word-separator characters, or if
2557
- a word-separating character has a zero advance width (such as the zero
2558
- width space U+200B) then the user agent must not create an additional
2559
- spacing between words. General punctuation and fixed-width spaces (such as
2560
- U+3000 and U+2000 through U+200A) are not considered word-separator
2561
- characters.
2554
+ characters</ dfn > are < a href ="#character "> < i > characters</ i > </ a > whose
2555
+ purpose and general usage is to separate words. In [UNICODE] this includes
2556
+ the space (U+0020), the no-break space (U+00A0), the Ethiopic word space
2557
+ (U+1361), the Aegean word separators (U+10100,U+10101), the Ugaritic word
2558
+ divider (U+1039F), and the Phoenician Word Separator (U+1091F). If there
2559
+ are no word-separator characters, or if a word-separating character has a
2560
+ zero advance width (such as the zero width space U+200B) then the user
2561
+ agent must not create an additional spacing between words. General
2562
+ punctuation and fixed-width spaces (such as U+3000 and U+2000 through
2563
+ U+200A) are not considered word-separator characters.
2562
2564
2563
2565
< h3 id =letter-spacing-property > < span class =secno > 8.2. </ span > Tracking: the
2564
2566
‘< a href ="#letter-spacing "> < code
@@ -2741,8 +2743,9 @@ <h3 id=letter-spacing-property><span class=secno>8.2. </span> Tracking: the
2741
2743
class =color-box > א</ span > ב ג
2742
2744
</ div >
2743
2745
2744
- < p > Letter-spacing ignores zero-width characters (such as those from the
2745
- Unicode Cf category).
2746
+ < p > Letter-spacing ignores invisible zero-width formatting characters (such
2747
+ as those from the Unicode Cf category). Spacing must be added as if those
2748
+ characters did not exist in the document.
2746
2749
2747
2750
< p class =example > For example, ‘< a href ="#letter-spacing "> < code
2748
2751
class =property > letter-spacing</ code > </ a > ’ applied to
@@ -2843,13 +2846,16 @@ <h3 id=text-indent-property><span class=secno>9.1. </span> First Line
2843
2846
2844
2847
< p > This property specifies the indentation applied to lines of inline
2845
2848
content in a block. The indent is treated as a margin applied to the start
2846
- edge of the line box. Unless otherwise specified via the ‘< code
2847
- class =css > each-line</ code > ’ and/or ‘< code class =css > hanging</ code > ’
2848
- keywords, only lines that are the < a
2849
+ edge of the line box.
2850
+
2851
+ < p > Unless otherwise specified by the ‘< code class =css > each-line</ code > ’
2852
+ and/or ‘< code class =css > hanging</ code > ’ keywords, only lines that are
2853
+ the < a
2849
2854
href ="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo "> first
2850
- formatted line</ a > of an element are affected. For example, the first line
2851
- of an anonymous block box is only affected if it is the first child of its
2852
- parent element.
2855
+ formatted line</ a > < a href ="#ref-CSS21 "
2856
+ rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > of an element are affected.
2857
+ For example, the first line of an anonymous block box is only affected if
2858
+ it is the first child of its parent element.
2853
2859
2854
2860
< p > Values have the following meanings:
2855
2861
@@ -2868,10 +2874,10 @@ <h3 id=text-indent-property><span class=secno>9.1. </span> First Line
2868
2874
< dt > < dfn id =each-line title ="each-line!!text-indent "> ‘< code
2869
2875
class =css > each-line</ code > ’</ dfn >
2870
2876
2871
- < dd > Indentation affects the first line of the block container as well as
2872
- each line after a < a href ="#forced-line-break "> < i > forced line
2873
- break </ i > </ a > , but does not affect lines after a < a
2874
- href =" #soft-wrap- break" > < i > soft wrap break < /i > </ a > .
2877
+ < dd > Indentation affects the first line of each block container and each
2878
+ line after a < a href ="#forced-line-break "> < i > forced line break </ i > </ a >
2879
+ ( but not lines after a < a href =" #soft-wrap-break " > < i > soft wrap
2880
+ break< /i > </ a > ) .
2875
2881
2876
2882
< dt > < dfn id =hanging title ="hanging!!text-indent "> ‘< code
2877
2883
class =css > hanging</ code > ’</ dfn >
@@ -2949,7 +2955,7 @@ <h3 id=hanging-punctuation-property><span class=secno>9.2. </span> Hanging
2949
2955
< td > as specified
2950
2956
2951
2957
< tr >
2952
- < th > Animatable:>
2958
+ < th > Animatable:
2953
2959
2954
2960
< td > no
2955
2961
@@ -3293,16 +3299,16 @@ <h2 class=no-num id=order>Appendix A: Text Processing Order of Operations</h2>
3293
3299
3294
3300
< li > < a href ="#white-space-phase-2 "> white space processing</ a > part II
3295
3301
3296
- < li > ‘< a href ="#letter-spacing "> < code
3297
- class =property > letter-spacing</ code > </ a > ’ and ‘< a
3298
- href ="#word-spacing "> < code class =property > word-spacing</ code > </ a > ’
3299
-
3300
3302
< li > < a href ="http://www.w3.org/TR/css3-fonts/ "> font/glyph selection and
3301
3303
positioning</ a > < a href ="#ref-CSS21 "
3302
3304
rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > / < a
3303
3305
href ="#ref-CSS3-FONTS "
3304
3306
rel =biblioentry > [CSS3-FONTS]<!--{{!CSS3-FONTS}}--> </ a >
3305
3307
3308
+ < li > ‘< a href ="#letter-spacing "> < code
3309
+ class =property > letter-spacing</ code > </ a > ’ and ‘< a
3310
+ href ="#word-spacing "> < code class =property > word-spacing</ code > </ a > ’
3311
+
3306
3312
< li > < a href ="#hanging-punctuation "> hanging punctuation</ a >
3307
3313
</ ol >
3308
3314
@@ -3315,7 +3321,8 @@ <h2 class=no-num id=order>Appendix A: Text Processing Order of Operations</h2>
3315
3321
< h2 class =no-num id =default-stylesheet > Appendix B: Default UA Stylesheet</ h2 >
3316
3322
3317
3323
< p > This appendix is informative, and is to help UA developers to implement
3318
- default stylesheet, but UA developers are free to ignore or change.
3324
+ a default stylesheet for HTML, but UA developers are free to ignore or
3325
+ modify as appropriate.
3319
3326
3320
3327
< div class =example >
3321
3328
< pre >
0 commit comments