Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 // https://html.spec.whatwg.org/#the-input-element | 22 // https://html.spec.whatwg.org/#the-input-element |
| 23 | 23 |
| 24 enum SelectionMode { "select", "start", "end", "preserve" }; | 24 enum SelectionMode { "select", "start", "end", "preserve" }; |
| 25 | 25 |
| 26 // https://w3c.github.io/html-media-capture/#dom-capturefacingmode | |
| 27 enum CaptureFacingMode { "user", "environment" }; | |
| 28 | |
| 26 interface HTMLInputElement : HTMLElement { | 29 interface HTMLInputElement : HTMLElement { |
| 27 [CEReactions, Reflect] attribute DOMString accept; | 30 [CEReactions, Reflect] attribute DOMString accept; |
| 28 [CEReactions, Reflect] attribute DOMString alt; | 31 [CEReactions, Reflect] attribute DOMString alt; |
| 29 [CEReactions, Reflect] attribute DOMString autocomplete; | 32 [CEReactions, Reflect] attribute DOMString autocomplete; |
| 30 [CEReactions, Reflect] attribute boolean autofocus; | 33 [CEReactions, Reflect] attribute boolean autofocus; |
| 31 [CEReactions, Reflect=checked] attribute boolean defaultChecked; | 34 [CEReactions, Reflect=checked] attribute boolean defaultChecked; |
| 32 attribute boolean checked; | 35 attribute boolean checked; |
| 33 [CEReactions, Reflect] attribute DOMString dirName; | 36 [CEReactions, Reflect] attribute DOMString dirName; |
| 34 [CEReactions, Reflect] attribute boolean disabled; | 37 [CEReactions, Reflect] attribute boolean disabled; |
| 35 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; | 38 [ImplementedAs=formOwner] readonly attribute HTMLFormElement? form; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 96 // https://html.spec.whatwg.org/#HTMLInputElement-partial | 99 // https://html.spec.whatwg.org/#HTMLInputElement-partial |
| 97 [CEReactions, Reflect] attribute DOMString align; | 100 [CEReactions, Reflect] attribute DOMString align; |
| 98 [CEReactions, Reflect] attribute DOMString useMap; | 101 [CEReactions, Reflect] attribute DOMString useMap; |
| 99 | 102 |
| 100 // HTML autocapitalize proposal | 103 // HTML autocapitalize proposal |
| 101 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md | 104 // https://github.com/mounirlamouri/html-autocapitalize/blob/master/proposal .md |
| 102 [Measure] attribute DOMString autocapitalize; | 105 [Measure] attribute DOMString autocapitalize; |
| 103 | 106 |
| 104 // HTML Media Capture | 107 // HTML Media Capture |
| 105 // https://w3c.github.io/html-media-capture/#the-capture-attribute | 108 // https://w3c.github.io/html-media-capture/#the-capture-attribute |
| 106 // TODO(mcasas): |capture| is a |CaptureFacingMode| enum in the spec. | 109 [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute CaptureFacingMode capture; |
|
foolip
2017/05/03 15:27:03
I've filed https://github.com/w3c/html-media-captu
| |
| 107 // https://crbug.com/698853 | |
| 108 [Measure, RuntimeEnabled=MediaCapture, Reflect] attribute boolean capture; | |
| 109 | 110 |
| 110 // Non-standard APIs | 111 // Non-standard APIs |
| 111 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; | 112 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; |
| 112 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; | 113 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; |
| 113 }; | 114 }; |
| OLD | NEW |