[Webkit-unassigned] [Bug 19066] ASSERT in editing code, ASSERTION FAILED: isStartOfParagraph(startOfParagraphToMove)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 9 17:48:15 PDT 2009


------- Comment #14 from eric at webkit.org  2009-03-09 17:48 PDT -------
(In reply to comment #13)
> > Why is [img,0] the start of the paragraph?  [img,0] is the first position in
> > the content of the paragraph, [body,0] is the first offset in the block of the
> > paragraph.
> there are two paragraphs, one is in the list ([br, 0] or [li, 0]) and the other
> starts at [img, 0].

Sure, but the "start of paragraph" is computed from the
endSelection().visibleStart() before the list is inserted.  At which time
[body,0] makes sense it's just the DOM-complaint equivalent of [img, 0].

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