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

FWIW, Safari seems to say `normal` no matter what is passed as the first argument - even if it *is* a valid family name:
```
› new FontFace("FamilyName", "").family
‹ "normal"
```

Chrome, on the other hand, accepts whatever string it is given, whether or not it would be a valid family name:
```
› new FontFace("@;! /* foo */", "").family
‹ "@;! /* foo */"
```
It seems to be treating the *value* of the string as though it were additionally quoted?

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


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

Received on Thursday, 22 April 2021 12:23:13 UTC