← Back to release summary

Deprecated and remove font-family: -webkit-pictograph

Category
CSS
Type
Feature removal
Status
No active development (Chrome No active development)
Intent stage
Dev trials

WPT details: There are tests to check that -webkit-pictograph is treated as normal <font-family>. https://w3c-test.org/css/cssom/font-family-serialization-001.html https://w3c-test.org/css/css-fonts/generic-family-keywords-001.html https://w3c-test.org/css/css-fonts/generic-family-keywords-002.html

Summary

Deprecate and remove special handling of the <family-name> "-webkit-pictograph" which selects a font from the corresponding user preference. In Chromium, the defaults are: - Apple Color Emoji on macOS (and iOS/WebKit) - Segoe UI Symbol on Windows - Times New Roman on Linux - Noto Color Emoji on ChromeOS - This feature is not implemented on Android.

Motivation

- Remove non-standard property inherited from WebKit's implementation. - Improve spec conformance and cleanup existing font-family code. - Prepare for future implementation of font-family e.g. a replacement would be "font-family: emoji"

Standards & signals

Ecosystem

Docs: https://bugs.chromium.org/p/chromium/issues/detail?id=1065354 https://chromium-review.googlesource.com/c/chromium/src/+/2124260 https://source.chromium.org/search?q=name%3D%22IDS_PICTOGRAPH_FONT_FAMILY%22%20 https://bugs.webkit.org/show_bug.cgi?id=65197 https://chromium-review.googlesource.com/c/chromium/src/+/2119545

View on chromestatus.com