Skip to content

Commit abbc961

Browse files
committed
[css-fonts-4] Tighten first available font, fix #4796
1 parent 20ca929 commit abbc961

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

css-fonts-4/Overview.bs

+8-2
Original file line numberDiff line numberDiff line change
@@ -4062,11 +4062,17 @@ given an identical set of available fonts and rendering tech.
40624062
The <dfn export>first available font</dfn>,
40634063
used for example in the definition of <a>font-relative lengths</a> such as ''ex''
40644064
or in the definition of the 'line-height' property,
4065-
is defined to be the first font
4066-
whose 'unicode-range!!descriptor' includes the U+0020 (space) character,
4065+
is defined to be the first font
4066+
for which the character U+0020 (space)
4067+
is not excluded by a 'unicode-range!!descriptor',
40674068
given the font families in the 'font-family!!property' list
40684069
(or a user agent's default font if none are available).
40694070

4071+
Installed fonts referenced directly by family name,
4072+
rather than via @font-face rules,
4073+
are considered to have a 'unicode-range!!descriptor'
4074+
that covers the entire Unicode code space.
4075+
40704076
<wpt>
40714077
first-available-font-001.html
40724078
first-available-font-002.html

0 commit comments

Comments
 (0)