Re: [csswg-drafts] [css-fonts] Reconsider the definition of "first available font" (#4796)

@kojiishi See http://wpt.live/css/css-values/ex-unit-004.html. This was designed to test the behavior as currently written in the spec: it uses the `ex` unit on an element where the first font listed in `font-family` is a font that does not include a `space` character and therefore (per current spec) should *not* be used as "first available font". All browsers currently fail this test -- they *do* use the test font as the basis for `ex`.

Adding a `unicode-range: U+78;` descriptor to the `@font-face` rule that loads the `ExTestNoSpace` font in that test makes it pass in both Firefox and Chrome, as they then *do* ignore that font for "first available font" purposes; this is the behavior I'm suggesting the spec *should* require.

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4796#issuecomment-591341773 using your GitHub account

Received on Wednesday, 26 February 2020 10:00:40 UTC