bug 448543, video frame creation is tag based not display type based so this is special content r/sr=bzbarsky
authorBernd <bmlk@gmx.de>
Sun, 26 Oct 2008 10:22:35 +0100
changeset 20833 3e0af2b93a93eaaf6a8cdafad0e57e2ae9cf19b4
parent 20832 a594a9f39d91972582bf2b69c9498b43fb7542a0
child 20834 b7385c2a17eba906c789cb8a6c094dade41e3f20
push id3181
push userbmlk@gmx.de
push dateSun, 26 Oct 2008 09:24:09 +0000
treeherdermozilla-central@3e0af2b93a93 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs448543
milestone1.9.1b2pre
bug 448543, video frame creation is tag based not display type based so this is special content r/sr=bzbarsky
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -3282,17 +3282,21 @@ IsSpecialContent(nsIContent*     aConten
       aTag == nsGkAtoms::select ||
       aTag == nsGkAtoms::fieldset ||
       aTag == nsGkAtoms::legend ||
       aTag == nsGkAtoms::frameset ||
       aTag == nsGkAtoms::iframe ||
       aTag == nsGkAtoms::spacer ||
       aTag == nsGkAtoms::button ||
       aTag == nsGkAtoms::isindex ||
-      aTag == nsGkAtoms::canvas;
+      aTag == nsGkAtoms::canvas ||
+#if defined(MOZ_MEDIA)
+      aTag == nsGkAtoms::video ||
+#endif
+      PR_FALSE;
   }
 
 
   if (aNameSpaceID == kNameSpaceID_XUL)
     return
 #ifdef MOZ_XUL
       aTag == nsGkAtoms::button ||
       aTag == nsGkAtoms::checkbox ||