[Webkit-unassigned] [Bug 9618] Pasting a table can cause content after the table to be absorbed into the table

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Jun 28 06:54:41 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9618


Graham.Dennis at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |Graham.Dennis at gmail.com
                   |unassigned at opendarwin.org   |
             Status|NEW                         |ASSIGNED
   Attachment #9075|                            |review?(justin.garcia at apple.
               Flag|                            |com)




------- Comment #2 from Graham.Dennis at gmail.com  2006-06-28 06:54 PDT -------
Created an attachment (id=9075)
 --> (http://bugzilla.opendarwin.org/attachment.cgi?id=9075&action=view)
patch

This bug is caused in the code that merges the start of a document fragment
into the document. It merges nodes from the start until it hits a block flow.
If the last of these is a table, and the last descendant of the table is a
block element (e.g. in the testcase for this bug), then m_lastNodeInserted is
set to that block element in the table. I'm not sure if this is the correct
fix, but I simply cause a table to be treated like a block flow when it is
encountered at the start of a document fragment, i.e. it isn't merged like the
inline elements.


-- 
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.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list