Implement correct intrinsic width calculation (for container) for elements with specified height properties and an intrinsic ratio. b=364066 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@227882 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -769,6 +769,13 @@ nsImageFrame::GetPrefWidth(nsIRenderingContext *aRenderingContext)
|
||||
return result;
|
||||
}
|
||||
|
||||
/* virtual */ nsSize
|
||||
nsImageFrame::GetIntrinsicRatio()
|
||||
{
|
||||
EnsureIntrinsicSize(PresContext());
|
||||
return mIntrinsicSize;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsImageFrame::Reflow(nsPresContext* aPresContext,
|
||||
nsHTMLReflowMetrics& aMetrics,
|
||||
|
||||
Reference in New Issue
Block a user