Bug 200709 - 'font-family: initial' acts like 'font-family: inherit' instead of getting the initial value
Summary: 'font-family: initial' acts like 'font-family: inherit' instead of getting th...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2019-08-14 05:10 PDT by Simon Pieters (:zcorpan)
Modified: 2022-01-17 08:11 PST (History)
4 users (show)

See Also:

screenshot showing issue in Safari TP (349.81 KB, image/png)
2022-01-17 08:10 PST, Matt Sephton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters (:zcorpan) 2019-08-14 05:10:22 PDT
See https://github.com/w3c/csswg-drafts/issues/4192 (and in particular the first comment by fantasai)

Test: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/7120

<!DOCTYPE html>
div {
font-family: fantasy;
span { font-family: initial }
The following two lines should look the same:<br>

This works as expected in Blink and Gecko.
Comment 1 Radar WebKit Bug Importer 2019-08-14 10:02:03 PDT
Comment 2 Matt Sephton 2022-01-17 08:10:19 PST
Created attachment 449334 [details]
screenshot showing issue in Safari TP

Can confirm this is still an issue on Safari 14, 15 and TP.