Re: [csswg-drafts] [css-fonts-3] Computed value of font-family isn't quite right

The implementation status of this is quite complicated. Browsers try to preserve identifiers if specified so to some extent, but don't agree with each other.

IIRC, Blink preserves identifier when there is only a single identifier, otherwise it serializes it as string. Gecko does a bit more and tries to preserve identifier sequence if there is no abnormal whitespaces via escaping (e.g. leading whitespace, trailing whitespace, more than one whitespaces in the middle).

It's not clear whether that is necessary or useful, though. And I'm also not sure whether this specific detail needs to be fully spec'ed.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3144#issuecomment-425685137 using your GitHub account

Received on Sunday, 30 September 2018 00:55:02 UTC