[Webkit-unassigned] [Bug 16749] DOMRange.surroundContents throws wrong exception (Acid3 bug)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 5 20:27:41 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16749


proton at wiretapped.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #18294|                            |review?
               Flag|                            |




------- Comment #3 from proton at wiretapped.net  2008-01-05 20:27 PDT -------
Created an attachment (id=18294)
 --> (http://bugs.webkit.org/attachment.cgi?id=18294&action=view)
Proposed patch

Ensure that we throw for all non-text nodes not just those that aren't
character indexed for offsets.

Also moved the code for this exception up the method so it'll throw before
HIERARCHY_REQUEST_ERR, which will let this Acid3 test pass.


-- 
Configure bugmail: http://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