sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

DOMParser() object is incorrectly assumed to support .text property #90

Closed backplane-import closed 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 90.

Reporter markbirbeck
Date 31 Jul 2010 5:28:53 PM UTC

In the unit-tests for DOM 3 XPath we check that the DOMParser() object has been initialised correctly by testing the 'string value' of the DOM. However, this property doesn't exist when DOMParser is implemented natively.


Owner set to ----

Priority: Medium Type: Defect

backplane-import commented 13 years ago

Comment by markbirbeck on 1 Aug 2010 11:10:47 AM UTC

creavonmoro wrote (in the comments for revision 3c249d1676070e92a158a9f6cecedba246c0ac88 (originally d23715940a)):

.text ie only, for native DOMPaser .textContent. And textContent don't work on document, it works on element nodes, in ie doc.text, in native doc.documentElement.textContent

backplane-import commented 13 years ago

Comment by markbirbeck on 1 Aug 2010 3:10:37 PM UTC

This issue was closed by revision 77871c8c83e51bbd5421d458af614e24d1ecc5fe (originally f8e0371ac5).


Updates

Ticket status set to Fixed