The computation needed to reach a property's computed value typically involves converting relative values (such as those inem units or percentages) to absolute values. For example, if an element has specified valuesfont-size: 16px andpadding-top: 2em, then the computed value of32px (double the font size). However, for some properties (those where percentages are relative to something that may require layout to determine, such astop), percentage-specified values turn into percentage-computed values. Additionally, unitless numbers specified on theline-height property become the computed value, as specified. The relative values that remain in the computed value become absolute when the used value is determined. |CSS Level 2 (Revision 1) | The definition of 'computed value' in that specification. © 2005–2018 Mozilla Developer Network and individual contributors. Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.