Part of the fix for bug #2485
git-svn-id: svn://10.0.0.236/trunk@17998 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -194,6 +194,9 @@ nsHTMLImageLoader::GetDesiredSize(nsIPresContext* aPresContext,
|
||||
// Determine whether the image has fixed content width and height
|
||||
PRBool fixedContentWidth = aReflowState.HaveFixedContentWidth();
|
||||
PRBool fixedContentHeight = aReflowState.HaveFixedContentHeight();
|
||||
if (NS_INTRINSICSIZE == aReflowState.computedWidth) {
|
||||
fixedContentWidth = PR_FALSE;
|
||||
}
|
||||
if (NS_INTRINSICSIZE == aReflowState.computedHeight) {
|
||||
fixedContentHeight = PR_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user