mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
Don't overoptimize when absolute frames are reflown and the containing block should return a MEW. bug 192267 r/sr=dbaron
This commit is contained in:
parent
9cc206ea7b
commit
ca2e57a80b
@ -674,7 +674,7 @@ nsBlockFrame::Reflow(nsIPresContext* aPresContext,
|
||||
|
||||
// If the incremental reflow command was handled by the absolute
|
||||
// positioning code, then we're all done.
|
||||
if (handled) {
|
||||
if (handled && !aMetrics.mComputeMEW) {
|
||||
// Just return our current size as our desired size.
|
||||
aMetrics.width = mRect.width;
|
||||
aMetrics.height = mRect.height;
|
||||
|
@ -674,7 +674,7 @@ nsBlockFrame::Reflow(nsIPresContext* aPresContext,
|
||||
|
||||
// If the incremental reflow command was handled by the absolute
|
||||
// positioning code, then we're all done.
|
||||
if (handled) {
|
||||
if (handled && !aMetrics.mComputeMEW) {
|
||||
// Just return our current size as our desired size.
|
||||
aMetrics.width = mRect.width;
|
||||
aMetrics.height = mRect.height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user