Calling splitText() on a parent-less Text node should update associated ranges: - https://dom.spec.whatwg.org/#concept-text-split (Step 9) We currently only update ranges for Text nodes that have a parent.
Created attachment 285679 [details] Patch
Comment on attachment 285679 [details] Patch Clearing flags on attachment: 285679 Committed r204311: <http://trac.webkit.org/changeset/204311>
All reviewed patches have been landed. Closing bug.
This changed caused fast/dom/non-numeric-values-numeric-parameters.html to crash due to failing: ASSERT(oldNode->nextSibling()) https://build.webkit.org/results/Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/r204312%20(7299)/results.html
(In reply to comment #4) > This changed caused fast/dom/non-numeric-values-numeric-parameters.html to > crash due to failing: ASSERT(oldNode->nextSibling()) > > https://build.webkit.org/results/ > Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/r204312%20(7299)/results.html Looking, thanks.
(In reply to comment #5) > (In reply to comment #4) > > This changed caused fast/dom/non-numeric-values-numeric-parameters.html to > > crash due to failing: ASSERT(oldNode->nextSibling()) > > > > https://build.webkit.org/results/ > > Apple%20El%20Capitan%20Debug%20WK1%20(Tests)/r204312%20(7299)/results.html > > Looking, thanks. Should be fixed in <http://trac.webkit.org/changeset/204319>.