Wednesday, September 17th, 2008
HTML 5: Welcome WebForms and more
In Mark Pilgrim’s HTML 5 roundup he shares with us the big news:
… the merging of the Web Forms 2 specification into the HTML 5 specification, and updating it with the collected feedback of the last two years.
form[r2142]fieldset[r2143]input[r2144]button[r2145]label[r2146]select[r2148]datalist[r2150]optgroup[r2151]option[r2152]textarea[r2153]output[r2154]- The
formattribute on various elements, which associates an element with its parent form, and the elements attribute of theformelement, which associates the form with its elements. (Form-associated elements no longer need to be children of the<form>element itself within the DOM, so explicit association is required. Form-associated elements that are DOM children of the<form>element are implicitly associated, so your existing markup will continue to work the way you think it does.) [r2157]
For more information on encoding news and such, check out the full roundup.












Note that the Repetition Model hasn’t been included.
I hope that the Repetition Model will be included, this was an awesome idea to avoid the repetitif development of WebForms …
I also didn’t see news about input type date, datetime, time, search, and stuff, these were also great ideas.
All these stuff seems to be partially integrated by Opera, WebKit and Firefox …
The repetition model is likely out due to it only supporting a small subset of the use cases. If we want to keep some declarative solution for that more research probably needs to be done.
As for the new input types, those are still very much alive. Not everything has been migrated into HTML5 yet.
Sorry, but I wish the repetition model would never see the light. If I wanted something like this I would use javascript or server-side code, not declarative tags trying to simulate a real programming language.