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

capture should be allowed on input type="file" #933

Closed
cthart opened this issue Mar 21, 2020 · 7 comments
Closed

capture should be allowed on input type="file" #933

cthart opened this issue Mar 21, 2020 · 7 comments

Comments

@cthart
Copy link

cthart commented Mar 21, 2020

I'm getting "Attribute capture not allowed on element input at this point." but it's actually allowed.

@sideshowbarker
Copy link
Contributor

The capture attribute is not in the HTML standard:

https://html.spec.whatwg.org/multipage/indices.html#attributes-3

For the checker to allow an attribute on a particular HTML element, the attribute needs to be in the HTML standard.

@cthart
Copy link
Author

cthart commented Mar 21, 2020

It's in this recommendation. https://www.w3.org/TR/html-media-capture/

@cthart
Copy link
Author

cthart commented Mar 21, 2020

And it was considered a bug on the mailing list. https://lists.w3.org/Archives/Public/www-validator/2018Mar/0016.html

@sideshowbarker
Copy link
Contributor

OK yeah, thanks for the pointers — I’ll make some time to add it

@sideshowbarker
Copy link
Contributor

sideshowbarker commented Mar 21, 2020

related, incidental FYI whatwg/html#1102 (comment)

@sideshowbarker
Copy link
Contributor

Fixed in the sources and pushed to https://validator.w3.org/nu/

@cthart
Copy link
Author

cthart commented Mar 21, 2020

And verified fixed! Thanks!

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