Re: [WSG] Firefox DOM and whitespace (bug?)

2005-08-05 Thread Ben Curtis
On Aug 4, 2005, at 2:45 PM, Patrick Ryan wrote: User agents have always (and will always) ignore whitespace in their display of XHTML. Should the DOM ignore it too? I recognize that's kind of backward logic, but it's certainly the practical view. Useragents better *not* ignore whitespace

[WSG] Firefox DOM and whitespace (bug?)

2005-08-04 Thread Patrick Ryan
I recently ran across an issue (I would call it a bug?) in firefox's DOM. I wrote a rather lengthy bit on it here: http://www.agavegroup.com/?p=32 But in short, firefox considers whitespace (tab, space, new line) to be nodes in the DOM. I've browsed the W3C spec, as well as the Mozilla DOM spec

Re: [WSG] Firefox DOM and whitespace (bug?)

2005-08-04 Thread Rimantas Liubertas
On 8/4/05, Patrick Ryan [EMAIL PROTECTED] wrote: I recently ran across an issue (I would call it a bug?) in firefox's DOM. ... But it seems to me white space should be entirely ignored in the DOM. ... Is this a recent Firefox bug or proper behavior (that must be scripted around...). I'd be

Re: [WSG] Firefox DOM and whitespace (bug?)

2005-08-04 Thread Ben Curtis
On Aug 4, 2005, at 1:39 PM, Patrick Ryan wrote: I recently ran across an issue (I would call it a bug?) in firefox's DOM. ... But in short, firefox considers whitespace (tab, space, new line) to be nodes in the DOM. ... But it seems to me white space should be entirely ignored in the DOM.

Re: [WSG] Firefox DOM and whitespace (bug?)

2005-08-04 Thread Patrick Ryan
Thank you for the excellent reponses. I can't believed I missed the whitespace document (http://www.mozilla.org/docs/dom/technote/whitespace/) I see the point, and from a one standard fits all perspective, it makes good sense. I do have to wonder though: The point of defining a DOM is to give