[Webkit-unassigned] [Bug 9505]
moveParagraphContentsToNewBlockIfNecessary creates a new
block outside the current position
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Jun 22 13:13:35 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=9505
------- Comment #3 from justin.garcia at apple.com 2006-06-22 13:13 PDT -------
(From update of attachment 8920)
+ // Perform some sanity checks. If the position pos doesn't have any
visible positions
+ // then paragraphStart will be outside the paragraph
+ if (Range::compareBoundaryPoints(pos, paragraphStart) < 0)
+ return;
+
Looks good. I think you mean "If there are no VisiblePositions in the same
block as pos".
I can't reproduce the bug you describe with the testcase you attached. I run
it and the table doesn't have an invalid div child.
--
Configure bugmail: http://bugzilla.opendarwin.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