Skip to content

[css-font-loading] [info discovery] FontFaceSet uses size but FontFacePalettes/FontFacePalette use length #6597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
litherum opened this issue Sep 10, 2021 · 2 comments

Comments

@litherum
Copy link
Contributor

We should decide if we want to be intentionally different for these objects, or if we want to unify the names.

@tabatkins
Copy link
Member

Well, it uses size because it's a set-like, and that's how Sets communicate their size; the others are iterables, and length is how they do it.

We absolutely should not attempt to diverge from the standard property names here, but I suppose we could discuss whether they should all be set-likes.

@litherum
Copy link
Contributor Author

Fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants