[TIMOB-7967] Android: Replace Node.text with Node.textContent
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-03-16T12:47:54.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Release 2.0.0, Sprint 2012-06 |
Components | Android |
Labels | n/a |
Reporter | Marshall Culpepper |
Assignee | Chase Culpepper |
Created | 2012-03-12T20:49:12.000+0000 |
Updated | 2017-03-06T18:20:56.000+0000 |
Description
For MobileWeb parity in 2.0, we need to deprecate the current
Node.text
property in our XML API, and rename it to textContent
. We won't be fully implementing textContent
from the DOM3 spec as it requires read-write access, and the traversal rules are slightly different than our current implementation. This is mainly for source level equivalence, until we have time to implement it properly.
Please make sure that we have both text and textContent available but text is marked deprecated.
To test this fix, just run the xml.js test in drillbit in both rhino and v8.
Closing ticket due to time passed.