[html-media-capture] Define clearly how the capture IDL attribute is reflected

foolip has just created a new issue for https://github.com/w3c/html-media-capture:

== Define clearly how the capture IDL attribute is reflected ==
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 https://github.com/whatwg/html/pull/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 

Please view or discuss this issue at https://github.com/w3c/html-media-capture/issues/12 using your GitHub account

Received on Wednesday, 3 May 2017 15:26:21 UTC