Skip to content

Commit ad6c513

Browse files
committed
[css-values] Dfn font-relative lengths and viewport-percentage lengths.
1 parent 0024849 commit ad6c513

2 files changed

Lines changed: 94 additions & 107 deletions

File tree

css-values/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ Relative lengths</h3>
669669
Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
670670

671671
Aside from ''rem'' (which refers to the font-size of the root element),
672-
the font-relative lengths refer to the font metrics of the element on which they are used.
672+
the <dfn export>font-relative lengths</dfn> refer to the font metrics of the element on which they are used.
673673
The exception is when they occur in the value of the 'font-size' property itself,
674674
in which case they refer to the computed font metrics of the parent element
675675
(or the computed font metrics corresponding to the initial values of the 'font' property,
@@ -726,7 +726,7 @@ Font-relative lengths: the ''em'', ''ex'', ''ch'', ''rem'' units</h4>
726726
<h4 id="viewport-relative-lengths">
727727
Viewport-percentage lengths: the ''vw'', ''vh'', ''vmin'', ''vmax'' units</h4>
728728

729-
The viewport-percentage lengths are relative to the size of the
729+
The <dfn export>viewport-percentage lengths</dfn> are relative to the size of the
730730
<a href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details">initial containing block</a>.
731731
When the height or width of the initial containing block is changed,
732732
they are scaled accordingly.

0 commit comments

Comments
 (0)