[whatwg] Web Forms 2.0 Implementation choices

Olav Junker Kjær olav at olav.dk
Tue Jan 4 10:27:52 PST 2005


Jep Castelein wrote:

> It's probably too early to discuss implementation in detail, but it seems to
> me that the specs are biased towards native browser implementations. How
> does the list think about implementations in a JavaScript library? 

Significant parts of the spec is (as far as I know) impossible to 
implement in IE using plain javascript. More can be achieved by using 
HTC's (which are not a type of plugin btw., but are loaded dynamically 
just like js files, and with the same security restrictions). Still, a 
lot of features like the file upload extensions, new events which 
bubble, new pseudoclasses etc. cannot be supported in IE without using 
binary extensions.

 > personal belief that it should be possible to implement the entire Web
 > Forms spec in a 30-40Kb JavaScript library, of course without the DOM
 > interface extensions.

I would guess around 100K to implement the parts of the spec which is 
implementable. But maybe if the code was as succint as possible, no 
superflous whitespace etc., it could be compressed to 30K.

Olav Junker Kjær



More information about the whatwg mailing list