Commit d6b8f906 authored by Hub Misto's avatar Hub Misto Committed by David Sveningsson
Browse files

fix(html5): add `user` and `environment` to `capture` attribute

fixes #130

 https://w3c.github.io/html-media-capture/
parent a65c4137
Pipeline #350155114 passed with stages
in 11 minutes and 13 seconds
......@@ -3446,7 +3446,11 @@ Array [
Object {
"column": 29,
"context": Object {
"allowed": Array [],
"allowed": Array [
"",
"environment",
"user",
],
"attribute": "capture",
"element": "input",
"value": "foobar",
......
......@@ -550,7 +550,7 @@
"requiredAttributes": ["type"],
"attributes": {
"autofocus": [],
"capture": [],
"capture": ["", "environment", "user"],
"checked": [],
"disabled": [],
"inputmode": ["none", "text", "decimal", "numeric", "tel", "search", "email", "url"],
......
......@@ -4,6 +4,7 @@
<!-- should allow attributes -->
<input type="text" autofocus>
<input type="file" capture>
<input type="file" capture="environment">
<input type="checkbox" checked>
<input type="text" disabled>
<input type="file" multiple>
......@@ -69,6 +70,7 @@
<input type="range" autocomplete="on">
<input type="color" autocomplete="on">
<input type="file" capture>
<input type="file" capture="environment">
<input type="checkbox" checked>
<input type="radio" checked>
<input type="text" dirname="myname">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment