Open Bug 794267 Opened 7 years ago Updated 6 years ago
Cache the value computed in ns
Flex Container Frame::Get Min Width() & Get Pref Width()
Quoting David Baron [:dbaron] from bug 666041 comment #105: > >+ // XXXdholbert Optimization: We could cache our intrinsic widths like > >+ // nsBlockFrame does (and return it early from this function if it's set). > >+ // Whenever anything happens that might change it, set it to > >+ // NS_INTRINSIC_WIDTH_UNKNOWN (like nsBlockFrame::MarkIntrinsicWidthsDirty > >+ // does) > > I think you should probably do this Filing this bug as a followup to cover that ^
You need to log in before you can comment on or make changes to this bug.