// [JS] I think "type" would be better here.
// [JS] This should also be 'readonly', right?
readonly DOMString name;
// The type of the input field, which is enum of text, number, password, url, search, email, and so on.
// [JS] and "inputtype" here.
// [JS] This should also be 'readonly', right?
readonly DOMString type;
/*
*/
// [JS] This should be 'readonly', right?
readonly DOMString inputmode;
/*
*/
// [JS] This should be 'readonly', right?
readonly DOMString lang;
/*
// [JS] Can you describe how the cursor can be moved without the surrounding text
// also changing? Is that really something that can happen?
// [yxl] For example, if the text field is filled with 'a', wherever the cusor movies the surrounding text is always 'aa...'.
attribute SurroundingTextChangeEventHandler onsurroundingtextchange;