Gecko:Overview: Difference between revisions

m
→‎Reflow: Update links to GetMin/PrefWidth to use searchfox and new function names (s/Width/ISize)
m (→‎Reflow: fix out-of-date reference to nsIPresShell interface)
m (→‎Reflow: Update links to GetMin/PrefWidth to use searchfox and new function names (s/Width/ISize))
Line 557: Line 557:
In some cases, however, widths need to be determined based on the
In some cases, however, widths need to be determined based on the
content.  This depends on two ''intrinsic widths'': the minimum
content.  This depends on two ''intrinsic widths'': the minimum
intrinsic width (see [http://dxr.mozilla.org/search?q=type%3AnsIFrame%20function%3AGetMinWidth&tree=mozilla-central nsIFrame::GetMinWidth]) and the preferred intrinsic
intrinsic width (see [https://searchfox.org/mozilla-central/search?q=nsIFrame%3A%3AGetMinISize&path= nsIFrame::GetMinISize]) and the preferred intrinsic
width (see [http://dxr.mozilla.org/search?q=type%3AnsIFrame%20function%3AGetPrefWidth&tree=mozilla-central nsIFrame::GetPrefWidth]).  The concept of what these widths
width (see [https://searchfox.org/mozilla-central/search?q=nsIFrame%3A%3AGetPrefISize&path= nsIFrame::GetPrefISize]).  The concept of what these widths
represent is best explained by describing what they are on a paragraph
represent is best explained by describing what they are on a paragraph
containing only text:  in such a paragraph the minimum intrinsic width
containing only text:  in such a paragraph the minimum intrinsic width
Confirmed users
490

edits