This is part of the #1796 series. Read that issue for context
Test source
Ref source
Live test
Live ref
If a inline-level box contains only characters from fallback fonts, we've got two different behaviors, plus a bug:
* Edge and Safari: size the height of the inline-level box using the metrics of the fonts actually used **plus** the metrics of the primary font, even if it is not used. I.E. they take the strut into account.
* Chrome: size the height of the inline-level box using **only** the metrics of the fonts actually used. I.E. it does not take the strut into account.
* Firefox has multiple behaviors it randomly switches between. In the test linked to above, FF does the same as chrome, but if you load the Firefox Torture test linked to bellow, it will randomly exhibit multiple behaviors as you reload the page. This is clearly a bug, but does not clearly indicate what behavior is intended.
I suggest we align with Edge & Safari.
Edit: this test file is exposing more subtle things that I initially thought. See next comment for details.
Firefox torture test:
Test source
Live test