mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-19 07:26:26 +00:00
bug 113680 fix for horizontal rule strangeness after tables. when reflowing tables, do not reflow beyond the last cell
This commit is contained in:
parent
7206d30a96
commit
d415e492d8
@ -2061,8 +2061,9 @@ void CEditBuffer::Reflow( CEditElement* pStartElement,
|
||||
if ( pEndElement ) {
|
||||
CEditElement* pTable = pEndElement->GetTopmostTableOrLayer();
|
||||
if ( m_bDisplayTables && pTable) {
|
||||
// If this is in a table, skip after it.
|
||||
pEndElement = pTable->GetLastMostChild()->NextLeaf();
|
||||
// If this is in a table, skip after it.
|
||||
//do not go beyond the last cell for reflow. bad things happed when we reflow the wrong things
|
||||
pEndElement = pTable->GetLastMostChild();//->NextLeaf();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user