@@ -3503,6 +3503,44 @@ <h4 id=serializing-css-values><span class=secno>6.6.2. </span>Serializing
35033503 <dd>The color is <code>rgba(0, 0, 0, 0)</code>.</dd>
35043504 -->
35053505
3506+ < dt > <counter>
3507+
3508+ < dd >
3509+ < p > In case of nested counters with the same name the concatenation of
3510+ these strings:</ p >
3511+
3512+ < ol >
3513+ < li >
3514+ < p > The string "< code > counters(</ code > ", followed by the first
3515+ <identifier> component, serialized, followed by "< code > ,</ code > "
3516+ (U+002C), followed by a space (U+0020), followed by the <string>
3517+ component, serialized.
3518+
3519+ < li >
3520+ < p > If there is a second < <identifier> component: "< code > ,</ code > "
3521+ (U+002C), followed by a space (U+0020), followed by the second
3522+ <identifier> component, serialized.
3523+
3524+ < li >
3525+ < p > "< code > )</ code > " (U+0029).
3526+ </ ol >
3527+
3528+ < p > Otherwise, the concatenation of these strings:</ p >
3529+
3530+ < ol >
3531+ < li >
3532+ < p > The string "< code > counter(</ code > ", followed by the first
3533+ <identifier> component, serialized.
3534+
3535+ < li >
3536+ < p > If there is a second < <identifier> component: "< code > ,</ code > "
3537+ (U+002C), followed by a space (U+0020), followed by the second
3538+ <identifier> component, serialized.
3539+
3540+ < li >
3541+ < p > "< code > )</ code > " (U+0029).
3542+ </ ol >
3543+
35063544 < dt > <frequency>
35073545
35083546 < dd >
@@ -3519,8 +3557,7 @@ <h4 id=serializing-css-values><span class=secno>6.6.2. </span>Serializing
35193557
35203558 < dd >
35213559 < p > A base-ten integer using digits 0-9 (U+0030 to U+0039) in the shortest
3522- form possible, preceded by a "< code > -</ code > " (U+002D) if it is
3523- negative.
3560+ form possible, preceded by "< code > -</ code > " (U+002D) if it is negative.
35243561
35253562 < dt > <length>
35263563
@@ -3530,8 +3567,8 @@ <h4 id=serializing-css-values><span class=secno>6.6.2. </span>Serializing
35303567
35313568 < p > Absolute lengths: the number of millimeters serialized as per
35323569 <number> followed by the literal string "< code > mm</ code > ". < span
3533- class =XXX > Rumor has it absolute lengths will become relative lengths. If
3534- not, change to centimeters? </ span > </ p >
3570+ class =XXX > Rumor has it absolute lengths will become relative lengths.
3571+ Centimeters would be compatible with <resolution > ... </ span > </ p >
35353572
35363573 < p > Relative lengths: the <number> component serialized as per
35373574 <number> followed by the unit in its canonical form as defined in its
@@ -3556,8 +3593,17 @@ <h4 id=serializing-css-values><span class=secno>6.6.2. </span>Serializing
35563593 < p > The resolution in dots per centimeter serialized as per <number>
35573594 followed by the literal string "< code > dpcm</ code > ".
35583595
3596+ < dt > <shape>
3597+
3598+ < dd >
3599+ < p class =XXX > ...
3600+
35593601 < dt > <string>
35603602
3603+ < dt > <family-name>
3604+
3605+ < dt > <specific-voice>
3606+
35613607 < dd >
35623608 < p > The string < a href ="#escape-a-string " title ="escape a string "> string
35633609 escaped</ a > .
@@ -3575,6 +3621,18 @@ <h4 id=serializing-css-values><span class=secno>6.6.2. </span>Serializing
35753621 URL "> URL escaped</ a > .
35763622 </ dl >
35773623
3624+ < p > <absolute-size> , <border-width> , <border-style> , <bottom> ,
3625+ <generic-family> , <generic-voice> , <left> , <margin-width> ,
3626+ <padding-width> , <relative-size> , <right> , and <top> , are
3627+ considered macros by this specification. They all represent instances of
3628+ components outlined above.
3629+
3630+ < p class =XXX > One idea is that we can remove this section somewhere in the
3631+ CSS3/CSS4 timeline by moving the above definitions to the drafts that
3632+ define the CSS components.
3633+
3634+ < hr >
3635+
35783636 < p > To < dfn id =escape-a-character > escape a character</ dfn > means to create a
35793637 string of "< code > \</ code > " (U+005C), followed by the character.
35803638
0 commit comments