зеркало из https://github.com/mozilla/gecko-dev.git
b=11971, r=peterl@netscape,karnaze@netscape.com
Changed ContentInserted() to use GetFrameFor() so we target the table cell's area frame
This commit is contained in:
Родитель
748a87340d
Коммит
58eccb6592
|
@ -5817,7 +5817,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
|||
else {
|
||||
// No previous or next sibling so treat this like an appended frame.
|
||||
isAppend = PR_TRUE;
|
||||
shell->GetPrimaryFrameFor(aContainer, &parentFrame);
|
||||
parentFrame = GetFrameFor(shell, aPresContext, aContainer);
|
||||
|
||||
if (parentFrame) {
|
||||
// If we didn't process children when we originally created the frame,
|
||||
|
|
|
@ -5817,7 +5817,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
|||
else {
|
||||
// No previous or next sibling so treat this like an appended frame.
|
||||
isAppend = PR_TRUE;
|
||||
shell->GetPrimaryFrameFor(aContainer, &parentFrame);
|
||||
parentFrame = GetFrameFor(shell, aPresContext, aContainer);
|
||||
|
||||
if (parentFrame) {
|
||||
// If we didn't process children when we originally created the frame,
|
||||
|
|
Загрузка…
Ссылка в новой задаче