@@ -415,9 +415,9 @@ <h3 id=values><span class=secno>1.2. </span> Values</h3>
415
415
this specification are defined in CSS Level 2 Revision 1 < a
416
416
href ="#CSS21 " rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > . Other CSS
417
417
modules may expand the definitions of these value types: for example < a
418
- href ="#CSS3COLOR " rel =biblioentry > [CSS3COLOR ]<!--{{CSS3COLOR }}--> </ a > ,
419
- when combined with this module, expands the definition of the
420
- <color > value type as used in this specification.
418
+ href ="#CSS3VAL " rel =biblioentry > [CSS3VAL ]<!--{{CSS3VAL }}--> </ a > , when
419
+ combined with this module, expands the definition of the
420
+ < var > <length ></ var > value type as used in this specification.
421
421
422
422
< p > In addition to the property-specific values listed in their definitions,
423
423
all properties defined in this specification also accept the < a
@@ -569,6 +569,21 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
569
569
-->
570
570
</ dl >
571
571
572
+ < p > The definition of “word“ used for ‘< code
573
+ class =css > capitalize</ code > ’ is UA-dependent; < a href ="#UAX29 "
574
+ rel =biblioentry > [UAX29]<!--{{!UAX29}}--> </ a > is suggested (but not
575
+ required) for determining such word boundaries. Authors should not expect
576
+ ‘< code class =css > capitalize</ code > ’ to follow language-specific
577
+ titlecasing conventions (such as skipping articles in English).
578
+
579
+ < div class =example >
580
+ < p > The following example converts the ASCII characters used in
581
+ abbreviations in Japanese text to their fullwidth variants so that they
582
+ lay out and line break like ideographs:
583
+
584
+ < pre > abbr:lang(ja) { text-transform: full-width; }</ pre >
585
+ </ div >
586
+
572
587
< p > The case mapping rules for the character repertoire specified by the
573
588
Unicode Standard can be found on the Unicode Consortium Web site < a
574
589
href ="#UNICODE " rel =biblioentry > [UNICODE]<!--{{!UNICODE}}--> </ a > . The UA
@@ -604,37 +619,23 @@ <h3 id=text-transform><span class=secno>2.1. </span> <a name=caps-prop></a>
604
619
</div>
605
620
-->
606
621
607
- < p > The definition of "word" used for ‘< code
608
- class =css > capitalize</ code > ’ is UA-dependent; < a href ="#UAX29 "
609
- rel =biblioentry > [UAX29]<!--{{!UAX29}}--> </ a > is suggested (but not
610
- required) for determining such word boundaries. Authors should not expect
611
- ‘< code class =css > capitalize</ code > ’ to follow language-specific
612
- titlecasing conventions (such as skipping articles in English).
613
-
614
622
< p > The definition of fullwidth and halfwidth forms can be found on the
615
623
Unicode consortium web site at < a href ="#UAX11 "
616
624
rel =biblioentry > [UAX11]<!--{{!UAX11}}--> </ a > . The mapping to fullwidth
617
- form is defined by taking code points with the <wide> or the
618
- <narrow> tag in their Decomposition_Mapping in < a href ="#UAX44 "
619
- rel =biblioentry > [UAX44]<!--{{!UAX44}}--> </ a > . For the <narrow> tag,
620
- the mapping is from the code point to the decomposition (minus
621
- <narrow> tag), and for the <wide> tag, the mapping is from the
622
- decomposition (minus the <wide> tag) back to the original code
623
- point.
625
+ form is defined by taking code points with the < code > <wide></ code >
626
+ or the < code > <narrow></ code > tag in their
627
+ < code > Decomposition_Mapping</ code > in < a href ="#UAX44 "
628
+ rel =biblioentry > [UAX44]<!--{{!UAX44}}--> </ a > . For the
629
+ < code > <narrow></ code > tag, the mapping is from the code point to the
630
+ decomposition (minus < code > <narrow></ code > tag), and for the
631
+ < code > <wide></ code > tag, the mapping is from the decomposition
632
+ (minus the < code > <wide></ code > tag) back to the original code point.
624
633
625
634
< p > Text transformation happens after < a href ="#white-space-rules "> white
626
635
space processing</ a > , which means that ‘< code
627
636
class =css > full-width</ code > ’ transforms only preserved U+0020 spaces to
628
637
U+3000.
629
638
630
- < div class =example >
631
- < p > The following example converts the ASCII characters in abbreviations in
632
- Japanese to their fullwidth variants so that they lay out and line break
633
- like ideographs:
634
-
635
- < pre > abbr:lang(ja) { text-transform: full-width; }</ pre >
636
- </ div >
637
-
638
639
< p class =note > A future level of CSS may introduce the ability to create
639
640
custom mapping tables for less common text transforms, such as by an
640
641
‘< code class =css > @text-transform</ code > ’ rule similar to ‘< code
@@ -3467,15 +3468,6 @@ <h3 class=no-num id=informative-ref>Informative references</h3>
3467
3468
</ dd >
3468
3469
<!---->
3469
3470
3470
- < dt id =CSS3COLOR > [CSS3COLOR]
3471
-
3472
- < dd > Tantek Çelik; Chris Lilley; L. David Baron. < a
3473
- href ="http://www.w3.org/TR/2011/REC-css3-color-20110607 "> < cite > CSS Color
3474
- Module Level 3.</ cite > </ a > 7 June 2011. W3C Recommendation. URL: < a
3475
- href ="http://www.w3.org/TR/2011/REC-css3-color-20110607 "> http://www.w3.org/TR/2011/REC-css3-color-20110607</ a >
3476
- </ dd >
3477
- <!---->
3478
-
3479
3471
< dt id =CSS3VAL > [CSS3VAL]
3480
3472
3481
3473
< dd > Håkon Wium Lie; Tab Atkins; Elika J. Etemad. < a
@@ -3703,14 +3695,14 @@ <h2 class=no-num id=appendix-f-text-processing-order-of-oper>Appendix F:
3703
3695
layout is the same.)
3704
3696
3705
3697
< ol >
3698
+ < li > < a href ="#white-space-rules "> white space processing</ a > part I
3699
+ (pre-wrapping)
3700
+
3706
3701
< li > < a
3707
3702
href ="http://www.w3.org/TR/css3-writing-modes/#text-combine-horizontal "> text
3708
3703
combination</ a > < a href ="#CSS3-WRITING-MODES "
3709
3704
rel =biblioentry > [CSS3-WRITING-MODES]<!--{{!CSS3-WRITING-MODES}}--> </ a >
3710
3705
3711
- < li > < a href ="#white-space-rules "> white space processing</ a > part I
3712
- (pre-wrapping)
3713
-
3714
3706
< li > < a href ="#text-transform "> text transformation</ a >
3715
3707
3716
3708
< li > < a href ="#wrapping "> text wrapping</ a > while applying per line:
@@ -3731,10 +3723,12 @@ <h2 class=no-num id=appendix-f-text-processing-order-of-oper>Appendix F:
3731
3723
orientation</ a > < a href ="#CSS3-WRITING-MODES "
3732
3724
rel =biblioentry > [CSS3-WRITING-MODES]<!--{{!CSS3-WRITING-MODES}}--> </ a >
3733
3725
3734
- < li > < a href ="#spacing "> default spacing</ a >
3726
+ < li > ‘< a href ="#letter-spacing0 "> < code
3727
+ class =property > letter-spacing</ code > </ a > ’ and ‘< a
3728
+ href ="#word-spacing0 "> < code class =property > word-spacing</ code > </ a > ’
3735
3729
3736
3730
< li > < a href ="http://www.w3.org/TR/css3-fonts/ "> font/glyph selection and
3737
- kerning </ a > < a href ="#CSS21 "
3731
+ positioning </ a > < a href ="#CSS21 "
3738
3732
rel =biblioentry > [CSS21]<!--{{!CSS21}}--> </ a > / < a href ="#CSS3-FONTS "
3739
3733
rel =biblioentry > [CSS3-FONTS]<!--{{!CSS3-FONTS}}--> </ a >
3740
3734
0 commit comments