DOM/Web Forms 2.0: Difference between revisions

m
Line 148: Line 148:


Extensions to current elements will require new DOM implementation code.  For instance, the pattern and required attributes of HTMLInputElement must be implemented in HTMLInputElement.cpp, in order for existing types (such as "text") to support them.
Extensions to current elements will require new DOM implementation code.  For instance, the pattern and required attributes of HTMLInputElement must be implemented in HTMLInputElement.cpp, in order for existing types (such as "text") to support them.
Objects which are properties of native elements (such as the validity state object) will also likely be implemented in C++.  There is no place for these to be defined in any other way, except possibly as XPCOM components, and that is probably not necessary or desirable for HTML DOM code.


=== XForms ===
=== XForms ===
Confirmed users
146

edits