Re: W3c validator issue with "capture" attribute

steve.atkinson@aviva.com, 2018-03-19 13:09 +0000:
> Archived-At: <https://www.w3.org/mid/cd9b88735f2d4aaaa9a9acc5666c4778@DB5PR70MB0054.015d.mgd.msft.net>
> 
> 
> The following html markup copied from Example 1 on this page
> https://www.w3.org/TR/html-media-capture/  gives an error " Attribute
> capture not allowed on element
> input<http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-input-element>
> at this point"
> ...
> Please explain? Is this a bug in the validator?

The validator follows the HTML spec, and the `capture` attribute is not yet
in the HTML spec. But that seems like it might be an oversight, given that
the HTML Media Capture went to final Recommendation last month. I’ll follow
up with others involved to make sure an issue or pull request for adding
gets raised soon (there may actually be something open already) — but in
the meantime I may also just go ahead and add validator support for. When I
do, I’ll post a follow-up message here. But until then, you can just
consider the error to be a bug in the validator.

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Friday, 23 March 2018 14:27:13 UTC