Re: [csswg-drafts] [css-font-loading] [info discovery] Named instances should be discoverable too (#6599)

Maybe what we actually want is something like

```
interface FontFaceNamedInstance {
    readonly attribute DOMString name;
    /* Maybe more here in the future. For now, just the name. */
};

interface FontFaceNamedInstances {
    readonly setlike<FontFaceNamedInstance>;
};

interface FontFaceCollectionMembers {
    maplike<DOMString, FontFace> members;
};

interface FontCollection {
    readonly attribute FontFaceNamedInstances namedInstances;
    readonly attribute FontFaceCollectionMembers collectionMembers;
};

partial interface FontFace {
    readonly attribute FontCollection fontCollection;
};
```

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


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

Received on Friday, 10 September 2021 21:10:46 UTC