Re: [csswg-drafts] [css-font-loading] Lack of interop on FontFace constructor. (#6236)

> I have a related question—how is the family name stringified? 

From [13.2. Serializing font-related at-rules ](https://drafts.csswg.org/css-fonts/#serializing-at-rules)

> Unless specifically noted for individual descriptors, the descriptors defined for at-rules in this module follow the principles of [CSSOM § 6.7.2 Serializing CSS Values](https://drafts.csswg.org/cssom-1/#serializing-css-values).)

and [4.2. Font family: the font-family descriptor](https://drafts.csswg.org/css-fonts/#font-family-desc) has no specific overrides on that.

> Specifically, are single and double quotes treated differently?

[CSSOM § 6.7.2 is silent on that, apart from "Please consult that property’s specification and/or your local reverse-engineer for details"

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 3 August 2025 17:37:11 UTC