Re: [csswg-drafts] [css-fonts-4] Stop claiming that 'ch' uses the first available font, since it doesn't

I'm not the most familiar with Gecko's font metrics code, but it seems that we use the first valid font as well:

  https://searchfox.org/mozilla-central/rev/0b8ed772d24605d7cb44c1af6d59e4ca023bd5f5/layout/style/ServoBindings.cpp#2557

And fall back to `aveCharWidth` if there's no `0` glyph, which is computed in a somewhat complicated way which I'm not confident enough to describe.

@jfkthame can probably correct if anything above is wrong.

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3129#issuecomment-423294483 using your GitHub account

Received on Thursday, 20 September 2018 18:54:55 UTC