Le 25/11/2021 à 11:12, Frédéric Wang a écrit :

Thank you Yoav, Rick and Dominik,

Some random remarks/thoughts:

1. First I believe the risk is probably not to have missing characters : At the end, we actually always do try "-webkit-standard" internally as a fallback. Instead, the risk is more to have inconsistent fonts selected (with different style, metrics) for the same text. Say, MyGenericFont would contain basic CJK or emoji or math characters but then would lack some more exotic ones which would then be taken by another MySpecializedFont.

2. That said, I can't explain why how " -webkit-standard" would really guarantee anything against the inconsistent font selected. Maybe instead this -webkit-standard value is used to to explicitly select a preferred font per Unicode scripts (on non-Android platforms) or to resolve CJK scripts specially (on Android).

3. My guess is more that these usages are really generated by tools (as Mike mentioned) not introduced on purpose by authors. Indeed, the result of using -webkit-standard explicitly is really hard to predict.

One more thought: in Mike's example, we typically have the value alone  (without other family names) like "font-family: -webkit-standard". This may suggest it is just used for resetting to default font, but I believe "font-family: initial" would have the same result.

--
Frédéric Wang

--
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6a06b4e7-961e-1cc7-5342-93a777002223%40igalia.com.

Reply via email to