Negative length values
are illegal.
A number value is used as a multiplier in the calculation of the value used for this
property, which equals the specified number multiplied by the element??™s computed
font size. Child elements will inherit the specified value, not the resulting used
value for this property. Negative values are illegal.
A percentage is used as a multiplier in the same way as a number value??”the
computed value for the property equals the specified percentage value of the
element??™s computed font size. However, child elements will inherit the computed
value for the property, not the specified percentage value. Again, negative values
are illegal.
normal is the normal line height, which depends on the user agent. In this case, it??™s
the specified value, normal, rather than the resulting used value for the property,
which will be inherited by child elements.
As you can see, the way the value is specified has great implications for the
inheritance of line height by child elements.
Pages:
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489