Bug 415503, crash with popupgroup, r+sr=bz
authorenndeakin@sympatico.ca
Thu, 14 Feb 2008 13:45:29 -0800
changeset 11732 0c4afb0be87ffe9d032323845987f8ce861e1e51
parent 11731 f5821b06fe5cff2dc943c4b1791f37cda3444ad0
child 11733 d8828fe934ad13d1ffc71da8546c1129607f5a5a
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs415503
milestone1.9b4pre
Bug 415503, crash with popupgroup, r+sr=bz
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -3436,17 +3436,17 @@ IsSpecialContent(nsIContent*     aConten
       aTag == nsGkAtoms::treecol ||
       aTag == nsGkAtoms::text ||
       aTag == nsGkAtoms::description ||
       aTag == nsGkAtoms::label ||
       aTag == nsGkAtoms::menu ||
       aTag == nsGkAtoms::menuitem ||
       aTag == nsGkAtoms::menubutton ||
       aTag == nsGkAtoms::menubar ||
-      aTag == nsGkAtoms::popupgroup ||
+      (aTag == nsGkAtoms::popupgroup && aContent->IsNativeAnonymous()) ||
       aTag == nsGkAtoms::iframe ||
       aTag == nsGkAtoms::editor ||
       aTag == nsGkAtoms::browser ||
       aTag == nsGkAtoms::progressmeter ||
 #endif
       aTag == nsGkAtoms::slider ||
       aTag == nsGkAtoms::scrollbar ||
       aTag == nsGkAtoms::scrollbarbutton ||