Beginning on October 25th, 2016, Persona will no longer be an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 515530 - Merge nsHTMLContainerFrame, nsContainerFrame to one class
: Merge nsHTMLContainerFrame, nsContainerFrame to one class
Product: Core
Classification: Components
Component: Layout (show other bugs)
: unspecified
: All All
: -- enhancement (vote)
: mozilla12
Assigned To: Mats Palmgren (:mats)
: Jet Villegas (:jet)
Depends on:
  Show dependency treegraph
Reported: 2009-09-09 17:14 PDT by Mats Palmgren (:mats)
Modified: 2011-12-28 11:08 PST (History)
5 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

fix (111.20 KB, patch)
2011-12-23 23:17 PST, Mats Palmgren (:mats)
roc: review+
Details | Diff | Splinter Review

Description Mats Palmgren (:mats) 2009-09-09 17:14:10 PDT
Followup from bug 233463 comment 62 --
From  Boris Zbarsky (:bz) 2009-08-25 08:44:30 PDT:

For that matter, I'm not quite sure why we have separate nsHTMLContainerFrame
and nsContainerFrame, but that's also fodder for a separate bug.
Comment 1 Boris Zbarsky [:bz] (still a bit busy) 2009-09-14 10:25:19 PDT
dbaron, roc, is there a point to having these be separate classes?
Comment 2 Robert O'Callahan (:roc) (email my personal email if necessary) 2009-09-14 14:28:53 PDT
I don't think so.
Comment 3 Mats Palmgren (:mats) 2011-12-23 23:17:37 PST
Created attachment 584162 [details] [diff] [review]

There was one issue - both nsHTMLContainerFrame, nsContainerFrame
implements BuildDisplayList.  Identically, except nsHTMLContainerFrame
uses DISPLAY_CHILD_INLINE and nsContainerFrame does not.

Investigating all classes that inherit nsHTMLContainerFrame...
implements BuildDisplayList that explicitly calls nsHTMLContainerFrame::BuildDisplayList
does not implement BuildDisplayList

I made the above four have a BuildDisplayList that calls a new (protected)
convenience method BuildDisplayListForInline that implements the

The remaining derived classes all implements BuildDisplayList but
does not call nsHTMLContainerFrame::BuildDisplayList.
Comment 5 Matt Brubeck (:mbrubeck) 2011-12-28 11:08:47 PST

Note You need to log in before you can comment on or make changes to this bug.