W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

Re: [csswg-drafts] [css-fonts] Clarify initial value of 'font-family' (#4192)

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Aug 2019 12:10:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-521219983-1565784652-sysbot+gh@w3.org>
> Is Webkit treating `body` as the same as `:root` here?

No. `initial` doesn't mean the value the root element *has*, rather the value it *would have*. So setting font-family on the root shouldn't have an effect on what `initial` keyword does.

Changing the test to style a `div` instead of `body` doesn't change the result in WebKit.

Anyway, if it is already well-defined that `inherit` can't be an initial value, then no need to change the spec. 

WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=200709

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4192#issuecomment-521219983 using your GitHub account
Received on Wednesday, 14 August 2019 12:10:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC