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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 27 13:51:25 PDT 2009


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


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #1 from eric at webkit.org  2009-03-27 13:51 PDT -------
PassRefPtr<DocumentFragment> Range::processContents(ActionType action,
ExceptionCode& ec)

is your culprit here.  That HUGE function is likely way-past buggy and needs to
be split into smaller pieces.  But that aside, the fix here is just to check at
the end if the ActionType was EXTRACT or DELETE and to update collapsed in that
instance.


-- 
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