WebAPI/KeboardIME: Difference between revisions

Jump to navigation Jump to search
m
Line 164: Line 164:
     // [JS] I think "type" would be better here.
     // [JS] I think "type" would be better here.
     // [JS] This should also be 'readonly', right?
     // [JS] This should also be 'readonly', right?
     DOMString name;
     readonly DOMString name;
   
   
     // The type of the input field, which is enum of text, number, password, url, search, email, and so on.
     // The type of the input field, which is enum of text, number, password, url, search, email, and so on.
Line 170: Line 170:
     // [JS] and "inputtype" here.
     // [JS] and "inputtype" here.
     // [JS] This should also be 'readonly', right?
     // [JS] This should also be 'readonly', right?
     DOMString type;
     readonly DOMString type;
   
   
     /*
     /*
Line 177: Line 177:
     */
     */
     // [JS] This should be 'readonly', right?
     // [JS] This should be 'readonly', right?
     DOMString inputmode;
     readonly DOMString inputmode;
   
   
     /*
     /*
Line 185: Line 185:
     */
     */
     // [JS] This should be 'readonly', right?
     // [JS] This should be 'readonly', right?
     DOMString lang;
     readonly DOMString lang;
   
   
     /*
     /*
Line 256: Line 256:
     // [JS] Can you describe how the cursor can be moved without the surrounding text
     // [JS] Can you describe how the cursor can be moved without the surrounding text
     //      also changing? Is that really something that can happen?
     //      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;
     attribute SurroundingTextChangeEventHandler onsurroundingtextchange;
   
   
Confirmed users
58

edits

Navigation menu