-
Notifications
You must be signed in to change notification settings - Fork 21
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
Define clearly how the capture IDL attribute is reflected #12
Comments
Agreed. You could also do what we've been doing for other cases that avoids such a table, such as
or
The important thing though is to update all specs to refer to the state of the attribute, not the value, since e.g. the value could be "asdf", but the state will be whatever you've set the invalid value default to. |
https://w3c.github.io/html-media-capture/#the-capture-attribute says "The capture IDL attribute must reflect the respective content attribute of the same name." and links to https://html.spec.whatwg.org/multipage/infrastructure.html#reflect
However, the bit in HTML that defined how to reflect an enum was removed in whatwg/html#2585. Probably the solution is to make the IDL attribute a DOMString, and handling it similarly to for example https://html.spec.whatwg.org/multipage/embedded-content.html#attr-track-kind
@annevk @domenic
The text was updated successfully, but these errors were encountered: