Skip to content
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

Specify the format types that need to be supported #107

Open
jyasskin opened this issue Feb 4, 2025 · 0 comments
Open

Specify the format types that need to be supported #107

jyasskin opened this issue Feb 4, 2025 · 0 comments

Comments

@jyasskin
Copy link

jyasskin commented Feb 4, 2025

For maximal interoperability, the <model> spec should pick a single model format for browsers to all implement. (I'm not challenging the proposed API shape, with the <source type=...> parameter: that enables future extensibility.)

If there are already multiple formats with varying capabilities, such that none of them is strictly better than all the others, the specification should still list the types that may be supported and pick one lowest-common-denominator that all implementations must support.

If the browsers can't even agree on a lowest-common-denominator format, the specification should still list a set of formats that authors can provide that's guaranteed to cover all browsers. Arguably, it should require authors to provide options in all of those formats (by refusing to display the model if one of the <source>s is missing), but since authors could work around that by putting garbage URLs into the other <source>s, I'm not sure that's worth it.

I'm aware that the image and video elements fail to follow this advice: we shouldn't repeat that mistake for <model>.

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

No branches or pull requests

1 participant