зеркало из https://github.com/mozilla/gecko-dev.git
limit pctHeightObserver to quirks mode bug 305975 r/sr=bzbarsky
This commit is contained in:
Родитель
89727da8d1
Коммит
77004905b6
|
@ -827,8 +827,8 @@ NS_METHOD nsTableCellFrame::Reflow(nsPresContext* aPresContext,
|
|||
}
|
||||
|
||||
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, firstKid, availSize, reason);
|
||||
// mIPercentHeightObserver is for non table related frames inside cells
|
||||
kidReflowState.mPercentHeightObserver = (nsIPercentHeightObserver *)this;
|
||||
// mIPercentHeightObserver is for non table related frames inside cells in quirks mode
|
||||
kidReflowState.mPercentHeightObserver = (eCompatibility_NavQuirks == compatMode) ? (nsIPercentHeightObserver *)this : nsnull;
|
||||
|
||||
// Assume the inner child will stay positioned exactly where it is. Later in
|
||||
// VerticallyAlignChild() we'll move it if it turns out to be wrong. This
|
||||
|
|
Загрузка…
Ссылка в новой задаче