@@ -1435,6 +1435,16 @@ <h3>10.8.1 <a name="leading">Leading and half-leading</a></h3>
14351435
14361436< p id ="inline-box-height "> Boxes of child elements do not influence this height.
14371437
1438+ < p > When the value of the < a href ="" class ="noxref "> < span class ="propinst-line-heigh "> 'line-height'</ span > </ a > property
1439+ is 'normal',
1440+ the height of the inline box encloses all glyphs, going from the highest < var > A</ var > to the deepest < var > D</ var > .
1441+
1442+ < p > User Agents may use different sets of font metrics when determining < var > A</ var > and < var > D</ var >
1443+ depending on whether the < a href ="" class ="noxref "> < span class ="propinst-line-heigh "> 'line-height'</ span > </ a > property
1444+ is 'normal' or some other value,
1445+ for instance taking external leading metrics into account
1446+ only in the 'normal' case.
1447+
14381448< p > Although margins, borders, and padding of non-replaced elements do
14391449not enter into the line box calculation, they are still rendered
14401450around inline boxes. This means that if the height specified by < a href ="visudet.html#propdef-line-height " class ="noxref "> < span
@@ -1494,29 +1504,25 @@ <h3>10.8.1 <a name="leading">Leading and half-leading</a></h3>
14941504
14951505< dl >
14961506< dt > < strong > normal</ strong > </ dt >
1497- < dd > Tells user agents to set the used
1498- value to a "reasonable" value based on the font of the element. The
1499- value has the same meaning as < span class ="index-inst "
1500- title ="<number> " id ="x18 "> < a href ="syndata.html#value-def-number " class ="noxref "> < span
1501- class ="value-inst-number "> <number></ span > </ a > </ span > . We recommend a
1502- used value for 'normal' between 1.0 to 1.2. The < a
1503- href ="cascade.html#computed-value "> computed value</ a > is 'normal'.
1507+ < dd > Tells user agents to determine the height of the inline box
1508+ automatically based on font metrics.
1509+ See above for details.
15041510</ dd >
1505- < dt > < span class ="index-inst " title ="<length> " id ="x19 "> < a href ="syndata.html#value-def-length " class ="noxref "> < span
1511+ < dt > < span class ="index-inst " title ="<length> " id ="x18 "> < a href ="syndata.html#value-def-length " class ="noxref "> < span
15061512class ="value-inst-length "> < strong > <length></ strong > </ span > </ a > </ span >
15071513</ dt >
15081514< dd > The specified length is used in the calculation of the line box
15091515height. Negative values are illegal.
15101516</ dd >
1511- < dt > < span class ="index-inst " title ="<number> " id ="x20 "> < a href ="syndata.html#value-def-number " class ="noxref "> < span
1517+ < dt > < span class ="index-inst " title ="<number> " id ="x19 "> < a href ="syndata.html#value-def-number " class ="noxref "> < span
15121518class ="value-inst-number "> < strong > <number></ strong > </ span > </ a > </ span >
15131519</ dt >
15141520< dd > The used value of the property is this number multiplied by the
15151521element's font size. Negative values are illegal. The < a
15161522href ="cascade.html#computed-value "> computed value</ a > is the same as
15171523the specified value.
15181524</ dd >
1519- < dt > < span class ="index-inst " title ="<percentage> " id ="x21 "> < a href ="syndata.html#value-def-percentage " class ="noxref "> < span
1525+ < dt > < span class ="index-inst " title ="<percentage> " id ="x20 "> < a href ="syndata.html#value-def-percentage " class ="noxref "> < span
15201526class ="value-inst-percentage "> < strong > <percentage></ strong > </ span > </ a > </ span >
15211527</ dt >
15221528< dd > The < a href ="cascade.html#computed-value "> computed value</ a > of the
@@ -1535,11 +1541,6 @@ <h3>10.8.1 <a name="leading">Leading and half-leading</a></h3>
15351541</ pre >
15361542</ div >
15371543
1538- < p > When an element contains text that is rendered
1539- in more than one font, user agents may determine the 'normal' < a href ="visudet.html#propdef-line-height " class ="noxref "> < span
1540- class ="propinst-line-height "> 'line-height'</ span > </ a > value according to
1541- the largest font size.
1542- </ p >
15431544< p class =note > < em > < strong > Note.</ strong > When there is only one value of < a href ="visudet.html#propdef-line-height " class ="noxref "> < span
15441545class ="propinst-line-height "> 'line-height'</ span > </ a > (other than 'normal') for all inline
15451546boxes in a block container box and they all use the same first available font (and
@@ -1609,14 +1610,14 @@ <h3>10.8.1 <a name="leading">Leading and half-leading</a></h3>
16091610 < dd > Align the bottom of the box with the bottom of the parent's
16101611 content area (see < a
16111612 href ="#inline-non-replaced "> 10.6.1</ a > ).</ dd >
1612- < dt > < span class ="index-inst " title ="<percentage> " id ="x23 "> < a href ="syndata.html#value-def-percentage " class ="noxref "> < span
1613+ < dt > < span class ="index-inst " title ="<percentage> " id ="x22 "> < a href ="syndata.html#value-def-percentage " class ="noxref "> < span
16131614 class ="value-inst-percentage "> < strong > <percentage>
16141615 </ strong > </ span > </ a > </ span > </ dt >
16151616 < dd > Raise (positive value) or lower (negative value) the box
16161617 by this distance (a percentage of the < a href ="visudet.html#propdef-line-height " class ="noxref "> < span
16171618 class ="propinst-line-height "> 'line-height'</ span > </ a > value).
16181619 The value '0%' means the same as 'baseline'.</ dd >
1619- < dt > < span class ="index-inst " title ="<length> " id ="x24 "> < a href ="syndata.html#value-def-length " class ="noxref "> < span
1620+ < dt > < span class ="index-inst " title ="<length> " id ="x23 "> < a href ="syndata.html#value-def-length " class ="noxref "> < span
16201621 class ="value-inst-length "> < strong > <length>
16211622 </ strong > </ span > </ a > </ span > </ dt >
16221623 < dd > Raise (positive value) or lower (negative value) the box
0 commit comments