Skip to content

Commit cab2453

Browse files
committed
[css-values] Explain how to absolutize line-height
Closes w3c#1253
1 parent 69cc645 commit cab2453

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-values-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,12 +1033,12 @@ Font-relative lengths: the ''em'', ''ex'', ''cap'', ''ch'', ''ic'', ''rem'', ''l
10331033
<dt><dfn id="lh" lt="lh">lh unit</dfn>
10341034
<dd>
10351035
Equal to the computed value of the 'line-height' property of the element on which it is used,
1036-
converted to an absolute length.
1036+
converted to an absolute length by measuring the height line box containing only the strut (See [[CSS2/visudet#strut]]) would have.
10371037

10381038
<dt><dfn id="rlh" lt="rlh">rlh unit</dfn>
10391039
<dd>
10401040
Equal to the computed value of 'line-height' property on the root element,
1041-
converted to an absolute length.
1041+
converted to an absolute length by measuring the height line box containing only the strut (See [[CSS2/visudet#strut]]) would have.
10421042
When specified on the 'font-size' or 'line-height' properties of the root element,
10431043
the ''rlh'' units refer to the properties' <em>initial value</em>.
10441044

0 commit comments

Comments
 (0)