[whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

Asbjørn Ulsberg asbjorn at tigerstaden.no
Wed Mar 14 11:03:20 PDT 2007


On Wed, 14 Mar 2007 16:25:08 +0100, liorean <liorean at gmail.com> wrote:

>> Are there particular parts that overlap between IE's DOM and the
>> standard DOM where IE's implementation is non-compliant?
>
> Several, yeah. Most important is the events model.

Thanks for pointing it out. The handling of whitespace is also quite  
different.

> Oh, without overlap everything would be fine and dandy. However,
> consider how many scripts would break with just the simple change of
> including all newline/whitespace text nodes in the DOM... Sure, any
> sensibly coded script won't break because of this sense because it's
> already coded so that a single piece of code handles both cases. But
> everything that does a browser check and forks will suddenly fail. And
> I think we all know that the vast majority of scripts out there aren't
> sensibly coded.

Exactly. IE needs a new DOM.

-- 
Asbjørn Ulsberg     -=|=-    http://virtuelvis.com/quark/
«He's a loathsome offensive brute, yet I can't look away»



More information about the whatwg mailing list