canmove, Confirmed users, Bureaucrats and Sysops emeriti
960
edits
No edit summary |
m (GPHemsley moved page DOM:Web Forms 2.0 to DOM/Web Forms 2.0 without leaving a redirect) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 71: | Line 71: | ||
** disabled state when parent <fieldset> is disabled | ** disabled state when parent <fieldset> is disabled | ||
** XBL extension for <input> elements with an associated <datalist> | ** XBL extension for <input> elements with an associated <datalist> | ||
** The XBL stuff is mostly plug & play. Most of the work here will involve tweaking the new XUL elements to accommodate WF2. | |||
** I need to raise a series of bugs to get XUL up to speed. | |||
* <b>NodeLists</b> | * <b>NodeLists</b> | ||
** The forms/elements/labels/selectedOptions DOM properties return NodeLists. NodeLists are live. How do we fake these using JavaScript? Do we want to fake them with JavaScript? These properties will probably be slow if implemented in JavaScript. | ** The forms/elements/labels/selectedOptions DOM properties return NodeLists. NodeLists are live. How do we fake these using JavaScript? Do we want to fake them with JavaScript? These properties will probably be slow if implemented in JavaScript. | ||
Line 77: | Line 79: | ||
** validation - should not submit invalid forms. How do we hijack submission and yet allow user scripts to trap the "submit" event also? | ** validation - should not submit invalid forms. How do we hijack submission and yet allow user scripts to trap the "submit" event also? | ||
** There are various new formats for form submission (phase 3) | ** There are various new formats for form submission (phase 3) | ||
** Trapping form submission - I'm not sure how to do this. Presumably I can just trap onsubmit? | |||
** If we support multiple bindings of elements to forms then we will need to serialize the form ourselves prior to submission. | |||
== Technologies == | == Technologies == | ||
Line 212: | Line 216: | ||
| autocomplete || is this already implemented? | | autocomplete || is this already implemented? | ||
|- | |- | ||
| autofocus || implementable | | autofocus || implementable (by XBL) | ||
|- | |- | ||
| inputmode || ? | | inputmode || ? | ||
Line 226: | Line 230: | ||
| replace || ? | | replace || ? | ||
|- | |- | ||
| list || implementable | | list || implementable (in conjunction with <datalist>) | ||
|- | |- | ||
| selectedOptions || implementable as an array or "fake" NodeList | | selectedOptions || implementable as an array or "fake" NodeList |