[csswg-drafts] Consistent vertical positioning of large and medium-sized text across OSs

tobireif has just created a new issue for https://github.com/w3c/csswg-drafts:

== Consistent vertical positioning of large and medium-sized text across OSs ==
The large text on the page
https://tobireif.com/non_site_stuff/test_case_for_font_position_report/
gets positioned differently eg in Chrome on Mac vs in Chrome on Windows:

The space above the large text is 102px in Chrome on Mac
vs 125px in Chrome on Windows.

The space below the large text is 75px in Chrome on Mac
vs 52px in Chrome on Windows.

The large-text positioning / the space above and below the large text should be the same in Chrome across OSs, for this font and for all fonts where the effective position currently is different across OSs.

Also see eg

https://app.crossbrowsertesting.com/public/ib8393c20a124bac/livetests/10424300/snapshots/zfa955e684685aa97890

vs

https://app.crossbrowsertesting.com/public/ib8393c20a124bac/livetests/10424303/snapshots/z7586faac855fc19fb22

I know that there are (probably many) other pages/sites/layouts where medium/large text and its position is important.

When a font does not have platform-specific metrics the browser should ensure the same vertical position across OSs.

When a font does have platform-specific metrics I need a way to override (eg using CSS) the relevant aspects in order to ensure the same vertical position across OSs.

Please prepend eg "[css-inline-4]" to the ticket title if appropriate.

Also see these three browser issue reports:
https://bugs.chromium.org/p/chromium/issues/detail?id=800693
https://bugzilla.mozilla.org/show_bug.cgi?id=1429347
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/15204186/

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2228 using your GitHub account

Received on Friday, 26 January 2018 10:03:29 UTC