Skip to content

Commit

Permalink
[css-fonts-5] Mention examples related to text-decoration for size-ad…
Browse files Browse the repository at this point in the history
…just. #5138
  • Loading branch information
fantasai committed Apr 6, 2021
1 parent df02447 commit d94d5a9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions css-fonts-5/Overview.bs
Expand Up @@ -160,10 +160,13 @@ the 'size-adjust' descriptor</h3>
are scaled by the given percentage,
as are the rendered glyph images.
Consequently,
any units derived from font metrics (such as ''ex'' and ''ch'')
any values derived from font metrics
(such as ''ex'' and ''ch'' units,
or the ''text-underline-thickness/from-font'' value of 'text-underline-thickness')
are also affected when sourced from this font.
However, the [=computed value|computed=] 'font-size'
(and thus any units such as ''em'' that derive from it)
(and thus any values that derive from it,
such as ''em'' units, percentages in 'text-underline-offset', etc.)
remains unaffected.

Note: The 'size-adjust' descriptor functions similarly to
Expand Down

0 comments on commit d94d5a9

Please sign in to comment.