Skip to content

Commit f69413e

Browse files
committed
[css-values-3][css-values-4] Clarify that font-relative lengths are measured in absence of shaping. #5498
1 parent 9cc311f commit f69413e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

css-values-3/Overview.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,8 @@ Font-relative Lengths: the ''em'', ''ex'', ''ch'', ''rem'' units
11751175
(or the computed font metrics corresponding to the initial values of the 'font' property,
11761176
if the element has no parent).
11771177

1178+
The [=font-relative lengths=] are calculated in the absence of shaping.
1179+
11781180
css-values-4/Overview.bs
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,8 @@ Font-relative Lengths: the ''em'', ''rem'', ''ex'', ''rex'', ''cap'', ''rcap'',
19071907
Note: Font-relative units such as ''ch'' and ''ic'' can trigger font downloads,
19081908
if a required font is not yet loaded.
19091909

1910+
The [=font-relative lengths=] are calculated in the absence of shaping.
1911+
19101912
Some user-agents allow users to apply additional restrictions to font sizes in a document,
19111913
such as setting minimum font sizes to ensure readability.
19121914
Such restrictions must be applied to the [=used value=] of the affected properties only;
@@ -4945,14 +4947,15 @@ Recent Changes
49454947

49464948
(This is a subset of [[#additions-L3]].)
49474949

4948-
Substantial changes since
4950+
Substantial changes since 16 December 2021 WD:
49494951

49504952
    49514953
  • Switch censoring of ''NaN'' that escapes a [=math function=] from infinity to zero.
  • 49524954
    49534955
  • Updated to match latest Fetch terminology.
  • 49544956
    49554957
    4958+
  • Clarified that the [=font-relative lenghts=] are calculated without text shaping.
  • 49564959
    49574960

    49584961
    Substantial changes since 16 October 2021 WD:

    0 commit comments

    Comments
     (0)