- From: Jeffrey Yasskin <jyasskin@google.com>
- Date: Mon, 30 Nov 2020 17:34:57 -0800
- To: www-style@w3.org
- Message-ID: <CANh-dX=3Bda_jZ64jqRNgK=V6R14HXZOojCUEHBsiY45sU1ZoA@mail.gmail.com>
Hi CSS folks, I was playing around with font-variant-numeric and discovered that the default serif and sans-serif fonts on Windows 10 show all numbers in numerator-mode when you ask for diagonal-fractions: https://crbug.com/1154042. Working around this as a page author would seem to require me to enable font-variants based on the state exposed by https://drafts.csswg.org/css-font-loading/. What's the "right" way to handle this? Have page authors change styles when their webfonts load? Have browsers special-case known-bad combinations? Add a declarative way to use different styles for different fonts? Has this group done an audit of any sort to figure out which font variants are usable in which contexts? The spec mentions that "it's not suitable for use as a paragraph-level style" in an example, but I can't find a normative statement about how these are actually supposed to be used. Thanks, Jeffrey
Received on Tuesday, 1 December 2020 01:35:21 UTC