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

> 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:

GitHub Notification of comment by zcorpan
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 14 August 2019 12:10:55 UTC