[3.0] this.textNode is incorrectly set if childNodes[0] is not a text node
Closed this issue · 0 comments
t2ym commented
[3.0] this.textNode
is incorrectly set if childNodes[0]
is not a text node
Root Cause
- Checking for
nodeType === TEXT_NODE
is missing andchildNodes[0]
is hard-coded
Fix
- Search for the first text node in
childNodes