On 11/16/21 9:46 AM, Frédéric Wang wrote:
Contact emails
fw...@igalia.com, ssin...@igalia.com
Explainer
None
Specification
https://drafts.csswg.org/css-fonts-4/#font-family-prop
Summary
Remove support for the font-family value "-webkit-standard". This
essentially behaves as an alias to the proprietary keyword
"-webkit-body" and is only exposed as historical implementation
details inherited from WebKit.
Blink component
Blink>Fonts
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink>Fonts>
TAG review
TAG review status
Not applicable
Risks
Interoperability and Compatibility
This will make Blink more aligned with the spec and with Firefox, but
no longer aligned with WebKit. Although not recommended, people can
continue to use the proprietary name "-webkit-body" to preserve
existing behavior. In March 2020, searching these strings on
HTTPArchive gave 2738 matches over ~5 millions (~0.05%). For better
accuracy, a use counter was added which is located at the place where
this generic name is actually tested and resolved to a more precise
name. This counter also excludes other internal uses of that string,
as mentioned above. On November 1st, reported measurement was ten
times smaller that HTTPArchive (~0.005%):
https://chromestatus.com/metrics/feature/timeline/popularity/3987
I started to poke through
https://github.com/search?p=5&q=%22-webkit-standard%22&type=Code out of
curiosity and a few things stand out:
1) Some tools used for archiving / exports appear:
Evernote:
https://github.com/karshih/Notes/blob/edf2d8658db898a4d993a22db62722e2d8e23ee8/accounts/www.evernote.com/100389449/content/ACFB7C02-6642-435C-B739-DBE738BDC66D/content.enml
Some "HTTrack Website Copier":
https://github.com/MicIOE/MicIOE.github.io/blob/533ac9fecef9e407b2f82061304fb2ee113c90a0/micioe/main/www.micioe.com/news/news2/2145.html
It's possible the tools were generating the usage, or just capturing the
result of certain pages already using it.
However, the results co-occur a lot with CJK fonts and mso- properties
(MS Office docs saved to web? Outlook emails?). Do we have a guess at
why Chinese documents might pick -webkit-standard over something else?
Is there some kind of layout benefit that we might break?
i.e.,
https://github.com/huanyun-c/egg_linkingLeft/blob/36a00019d54219c07150bdf5fe07445d1d1a221a/app/view/rule/fwxy.ejs#L31-L37
https://github.com/english5-net/e5-ckeditor5-build/blob/a60acf23729ba6a48671cb3d0136294a26893360/packages/ckeditor5-paste-from-office/tests/_data/list/resume-template/normalized.safari.word2016.html#L3-L9
/Gecko/: Shipped/Shipping Firefox does not support this -webkit
prefixed value.
/WebKit/: Neutral
(https://github.com/web-platform-tests/wpt/pull/22512#discussion_r399764967)
As a general rule, Apple is against removing features if that can
break things on the web or their platform. Myles C. Maxfield commented
that he is aware of the issue and don't think it's something desirable
that these values are web-exposed.
/Web developers/: No signals It's not clear whether developers are
actually aware of this behavior but it was used by a few pages (see
compat analysis).
/Other signals/:
Debuggability
font-family is exposed via usual CSS DevTools.
Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>?
Yes
Flag name
Requires code in //chrome?
False
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status
https://www.chromestatus.com/feature/5639265565278208
This intent message was generated by Chrome Platform Status
<https://www.chromestatus.com>.
PS: For those interested in that one and other font-family stuff,
there will be a breakout session on day 2 of BlinkOn 15.
--
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 blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/958f3a2d-c47a-7b37-7a05-46e4d8ace894%40igalia.com
<https://groups.google.com/a/chromium.org/d/msgid/blink-dev/958f3a2d-c47a-7b37-7a05-46e4d8ace894%40igalia.com?utm_medium=email&utm_source=footer>.
--
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 blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6d02b72f-41a3-ae5e-0b4d-4b5e55f84aa3%40chromium.org.