VK wrote:
> Thomas 'PointedEars' Lahn wrote:
>> Will you *please* stop perpetuating your ongoing delusions? The value of
>> an element node is not supposed to be the element's text content, for an
>> element can have non-text content.
>
> Surely: for instance, <textNode>Text</textNode> node has nodeValue
> null. [...]
No, certainly not.
>> You only know IE and Mozilla, don't you? The majority of DOM
>> implementations supports the `textContent' property. That is
>> why it became and stays a Web standard, not vice-versa.
>
> It became Web standard for the same reason why CSS cursor:hand is
> "wrong"
It is wrong because it implies a shape that is not necessarily used, and
because it is insufficient to describe the shape that is used if it is used.
> and rather idiotic cursor
ointer is now "right" (any type of
> cursor is pointer).
Utter nonsense. Pointer here means an shape that can point to something.
This could be an icon that is the pointer digit of a human hand, but does
not need to (it depends on the cursor theme).
> The reason is that in Microsoft it is called that way,
No, the reason is that "hand" does not reflect the shape.
> so the "standard" one has to be called differently.
Nonsense.
>> > its own innerText property that does the same.
>> >
>> > http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
>>
>> Those properties are _not_ equivalent. For one, `innerText' does not
>> include leading white-space text nodes, while `textContent' does.
>
> It is a separate problem of the phantom nodes
"Phantom nodes" are an fantasy of yours. Fortunately, the Wikipedia article
you created did not live long enough for this nonsense to be perpetuated.
> introduced by Gecko and then reproduced by others,
Nonsense.
> see
> https://bugzilla.mozilla.org/show_bug.cgi?id=26179
Your delusions have been disproved there, too (the bug is rightfully marked
VERIFIED INVALID, stupid). White-space text nodes are _not_ introduced by
non-MSHTMLs, they are sometimes disregarded by MSHTML. Everybody who has
the slightest clue about the DOM API knows that.
> IE never had that problem.
It has another, more serious problem of not providing a consistent document
tree. White-space text nodes are seemingly disregarded at random in MSHTML.
No, we do not really want that.
PointedEars
--
realism: HTML 4.01 Strict
evangelism: XHTML 1.0 Strict
madness: XHTML 1.1 as application/xhtml+xml
-- Bjoern Hoehrmann