Re: [csswg-drafts] [css-font-loading] document.fonts is too vagely defined (#6126)

> I'm curious what you're adding a User Agent @font-face for?

It's a font with a handful of glyphs for rendering the `list-style-type` bullets / disclosure triangles + space. We're removing our legacy code path ([bug 1542807](https://bugzilla.mozilla.org/show_bug.cgi?id=1542807)) that used a special box type to render those. We'll now generate content and render that using the normal `::marker` path.

> If it's a generic font, that won't work correctly (it'll be recognized by the quoted variant of its name as well, which the generics must not do), and if it's not a generic font, then you're exposing a new font to all pages that's guaranteed to exist.

It's not a generic font. The working name is `-moz-bullet-font` (subject to change). Exposing it to all pages is intentional. Letting authors replace it with a `@font-face` overriding that name is also intentional.

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


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

Received on Monday, 22 March 2021 23:55:28 UTC