Confirmed users
58
edits
m (→Proposed API) |
m (→Proposed API) |
||
Line 163: | Line 163: | ||
// The tag name of input field, which is enum of "input", "textarea", or "contenteditable" | // The tag name of input field, which is enum of "input", "textarea", or "contenteditable" | ||
// [JS] I think "type" would be better here. | // [JS] I think "type" would be better here. | ||
// [JS] This should also be 'readonly', right? | <strike>// [JS] This should also be 'readonly', right?</strike> | ||
readonly DOMString name; | readonly DOMString name; | ||
Line 169: | Line 169: | ||
// See http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#states-of-the-type-attribute | // See http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#states-of-the-type-attribute | ||
// [JS] and "inputtype" here. | // [JS] and "inputtype" here. | ||
// [JS] This should also be 'readonly', right? | <strike>// [JS] This should also be 'readonly', right?</strike> | ||
readonly DOMString type; | readonly DOMString type; | ||
Line 176: | Line 176: | ||
* See http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#input-modalities:-the-inputmode-attribute | * See http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#input-modalities:-the-inputmode-attribute | ||
*/ | */ | ||
// [JS] This should be 'readonly', right? | <strike>// [JS] This should be 'readonly', right?</strike> | ||
readonly DOMString inputmode; | readonly DOMString inputmode; | ||
Line 184: | Line 184: | ||
* See http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement | * See http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#htmlelement | ||
*/ | */ | ||
// [JS] This should be 'readonly', right? | <strike>// [JS] This should be 'readonly', right?</strike> | ||
readonly DOMString lang; | readonly DOMString lang; | ||