NEW 121571
Make Range methods to work with detached node
https://bugs.webkit.org/show_bug.cgi?id=121571
Summary Make Range methods to work with detached node
Ryosuke Niwa
Reported 2013-09-18 14:01:42 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/93208b27143a237459839eb38621c0aded227f7f This patch makes Range methods, setEndAfter, setEndBefore, setStartAfter, setStartBefore, selectNode and surroundContents, to work with detached node as the spec, http://dom.spec.whatwg.org)
Attachments
Alexey Proskuryakov
Comment 1 2013-09-18 15:33:54 PDT
See also: bug 25571, bug 33510.
Ahmad Saleem
Comment 2 2022-08-22 15:22:39 PDT
Test Case - range-on-detached-node.html - https://jsfiddle.net/x3nos9qk/ ^ Safari 15.6.1 and Firefox Nightly 105 do fail some tests but Chrome Canary 106 pass all the tests from above. Test Case - surroundContents-for-detached-node.html - https://jsfiddle.net/wp219do0/ ^ All browsers (Safari 15.6.1, Chrome Canary 106 and Firefox Nightly 105) pass all tests. Thanks!
Radar WebKit Bug Importer
Comment 3 2022-08-23 15:59:36 PDT
Note You need to log in before you can comment on or make changes to this bug.