Re: [csswg-drafts] [css-font-loading-3] Unclear how to parse font families (#3776)

@tabatkins that's what my patch does.

After my patch, Chrome and WebKit both:

A) For the FontFace constructor and .family property, simply retain and return the given string.
B) For the CSSOM `HTMLStyleElement.sheet.rules[n].style.getPropertyValue(font-family)` continue running the string through `isCSSTokenizerIdentifier(string) ? string : serializeString(string)`. This will put quotes around the string and do some substitutions if the string isn't a valid ident.

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

Received on Friday, 29 March 2019 21:41:46 UTC