- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Fri, 27 Jul 2012 08:34:32 +0200
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: public-device-apis@w3.org
On Fri, Jul 27, 2012 at 12:15 AM, fantasai <fantasai.lists@inkedblade.net> wrote: > So the distinction between the two is that using the 'capture' attribute > indicates that a live capture is preferred? > > In that case, I suggest that the 'capture' attribute be a boolean, > leaving the type-checking to the 'accept' attribute, which already > serves this function. > > Not only would this avoid duplication, it also avoids conflicts like > > <input capture=microphone accept='image/*'> That does not allow hinting the user-facing camera ought to be used (typical phone these days has two cameras). (Not sure that use case is addressed now though.) -- http://annevankesteren.nl/
Received on Friday, 27 July 2012 06:35:04 UTC