newline handling changes to pass more W3C DOM Level 1 Core tests

Darin Adler darin at apple.com
Tue Oct 7 11:25:19 CEST 2003


On Oct 7, 2003, at 9:03 AM, David Faure wrote:

>> This change causes the newlines to be left as-is in the DOM.
>
> The whole question is whether we really want to do this. AFAIK (Dirk 
> will correct me if I'm wrong) the KHTML behavior was done to map IE, 
> whereas your changes tend to resemble more Mozilla.

One more thought: Since this code is shared for both HTML and XML 
handling, it seems like we'll have to do these changes at some point to 
do the right thing for XML. But being compatible with IE seems like a 
good strategy too.

     -- Darin



More information about the Khtml-devel mailing list