Sent by Philippe Wittenbergh on 21 July 2016 08:08
> On Jul 21, 2016, at 1:38 PM, Karl DeSaulniers [EMAIL-REMOVED]> wrote:
> Same link you gave had this below what your were referencing.
> The exception is when they occur in the value of the font-size property itself, in which case they
refer to the computed font metrics of the parent element (or the computed font metrics corresponding
to the initial values of the font property, if the element has no parent).
Oh, sure, that is inheritance at work. For any other property that accepts a `<length>`, if it is
expressed using the `em` unit, it will depend on the computed value of the element itself.
That means (to come back to the rem vs em topic) that the resulting value for padding, border,
margin, background-position, etc are depending on the nesting inside the document tree if using `em`
units. The `rem` unit avoids that.
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/