[Webkit-unassigned] [Bug 24896] REGRESSION: Range#collapsed is mis-reported after Range#extractContents is called

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 27 16:23:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24896





------- Comment #8 from nicksantos at google.com  2009-03-27 16:23 PDT -------
I think Gecko is doing the right thing here. From section 2.7:

The extractContents() method removes nodes from the Range's context tree
similarly to the deleteContents() method. 

And from section 2.6:

After deleteContents() is invoked on a Range, the Range is collapsed. ...If a
node was partially selected by the Range and was an ancestor container of the
start of the Range and no ancestor of the node satisfies these two conditions,
then the Range is collapsed to the position immediately after the node, as in
examples (2) and (4).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list