diff --git a/css2/indexlist.html b/css2/indexlist.html index 9338499d538..f46bc9632e5 100644 --- a/css2/indexlist.html +++ b/css2/indexlist.html @@ -370,7 +370,7 @@

Appendix I. Index

  • definition of, 1
  • 'left', 1 -
  • <length>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 +
  • <length>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 @@ -435,7 +435,7 @@

    Appendix I. Index

  • as display value, 1
  • normal, 1 -
  • <number>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 +
  • <number>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 @@ -485,7 +485,7 @@

    Appendix I. Index

  • 'pause', 1
  • 'pause-after', 1
  • 'pause-before', 1 -
  • <percentage>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 +
  • <percentage>, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 diff --git a/css2/visudet.html b/css2/visudet.html index b0198fbc76b..dd120201d20 100644 --- a/css2/visudet.html +++ b/css2/visudet.html @@ -1435,6 +1435,16 @@

    10.8.1 Leading and half-leading

    Boxes of child elements do not influence this height. +

    When the value of the 'line-height' property +is 'normal', +the height of the inline box encloses all glyphs, going from the highest A to the deepest D. + +

    User Agents may use different sets of font metrics when determining A and D +depending on whether the 'line-height' property +is 'normal' or some other value, +for instance taking external leading metrics into account +only in the 'normal' case. +

    Although margins, borders, and padding of non-replaced elements do not enter into the line box calculation, they are still rendered around inline boxes. This means that if the height specified by 10.8.1 Leading and half-leading

    normal
    -
    Tells user agents to set the used -value to a "reasonable" value based on the font of the element. The -value has the same meaning as <number>. We recommend a -used value for 'normal' between 1.0 to 1.2. The computed value is 'normal'. +
    Tells user agents to determine the height of the inline box +automatically based on font metrics. +See above for details.
    -
    <length>
    The specified length is used in the calculation of the line box height. Negative values are illegal.
    -
    <number>
    The used value of the property is this number multiplied by the @@ -1516,7 +1522,7 @@

    10.8.1 Leading and half-leading

    href="cascade.html#computed-value">computed value is the same as the specified value.
    -
    <percentage>
    The computed value of the @@ -1535,11 +1541,6 @@

    10.8.1 Leading and half-leading

    -

    When an element contains text that is rendered -in more than one font, user agents may determine the 'normal' 'line-height' value according to -the largest font size. -

    Note. When there is only one value of 'line-height' (other than 'normal') for all inline boxes in a block container box and they all use the same first available font (and @@ -1609,14 +1610,14 @@

    10.8.1 Leading and half-leading

    Align the bottom of the box with the bottom of the parent's content area (see 10.6.1).
    -
    <percentage>
    Raise (positive value) or lower (negative value) the box by this distance (a percentage of the 'line-height' value). The value '0%' means the same as 'baseline'.
    -
    <length>
    Raise (positive value) or lower (negative value) the box diff --git a/css2/visudet.src b/css2/visudet.src index dc9470b267a..ecf184f4dbf 100644 --- a/css2/visudet.src +++ b/css2/visudet.src @@ -1339,6 +1339,16 @@ do not impact the height or baseline of the inline box.

    Boxes of child elements do not influence this height. +

    When the value of the 'line-height' property +is 'normal', +the height of the inline box encloses all glyphs, going from the highest A to the deepest D. + +

    User Agents may use different sets of font metrics when determining A and D +depending on whether the 'line-height' property +is 'normal' or some other value, +for instance taking external leading metrics into account +only in the 'normal' case. +

    Although margins, borders, and padding of non-replaced elements do not enter into the line box calculation, they are still rendered around inline boxes. This means that if the height specified by

    normal
    -
    Tells user agents to set the used -value to a "reasonable" value based on the font of the element. The -value has the same meaning as <number>. We recommend a -used value for 'normal' between 1.0 to 1.2. The computed value is 'normal'. +
    Tells user agents to determine the height of the inline box +automatically based on font metrics. +See above for details.
    <length> @@ -1428,11 +1434,6 @@ div { line-height: 120%; font-size: 10pt } /* percentage */ -

    When an element contains text that is rendered -in more than one font, user agents may determine the 'normal' 'line-height' value according to -the largest font size. -

    Note. When there is only one value of 'line-height' (other than 'normal') for all inline boxes in a block container box and they all use the same first available font (and