зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1484126 - part 16: Replace |CellData::mEffectiveColSpan - 1| with CellData::NumberOfFollowingColumns() r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D8353 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
140330e8d3
Коммит
cad6cdb5d5
|
@ -2590,7 +2590,7 @@ HTMLEditor::JoinTableCells(bool aMergeNonContiguousContents)
|
|||
}
|
||||
// Save max selected column in this row, including extra colspan
|
||||
lastColInRow =
|
||||
cellData.mCurrent.mColumn + cellData.mEffectiveColSpan - 1;
|
||||
cellData.mCurrent.mColumn + cellData.NumberOfFollowingColumns();
|
||||
cellFoundInRow = true;
|
||||
} else if (cellFoundInRow) {
|
||||
// No cell or not selected, but at least one cell in row was found
|
||||
|
|
Загрузка…
Ссылка в новой задаче