Bug 701618 - Remove use of min-width to prevent assertion when entering DOM full-screen mode. r=dao
authorChris Pearce <chris@pearce.org.nz>
Mon, 14 Nov 2011 09:53:13 +1300
changeset 80997 d2380072ab02c4043e37b73e87f29ec7f4aa8257
parent 80996 ee9ab83779a908310578c9906e3ab22773585b56
child 80998 8abaa54efb2a3df4e7589056354790055115c6d0
push idunknown
push userunknown
push dateunknown
reviewersdao
bugs701618
milestone11.0a1
Bug 701618 - Remove use of min-width to prevent assertion when entering DOM full-screen mode. r=dao
browser/base/content/browser.css
browser/base/content/browser.xul
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -357,18 +357,18 @@ window[chromehidden~="toolbar"] toolbar:
   background: black;
 }
 
 #full-screen-warning-container {
   pointer-events: none;
   position: fixed;
   top: 0;
   left: 0;
-  min-width: 100%;
-  min-height: 100%;
+  width: 100%;
+  height: 100%;
 }
 
 #full-screen-warning-container[fade-warning-out] {
   -moz-transition-property: opacity !important;
   -moz-transition-duration: 500ms !important;
   opacity: 0.0;
 }
 
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -971,17 +971,17 @@
           style="min-width: 18em; width: 22em; max-width: 42em;" persist="width">
       <toolbar id="devtools-sidebar-toolbar" nowindowdrag="true"/>
       <deck id="devtools-sidebar-deck" flex="1"/>
     </vbox>
     <vbox id="browser-border-end" hidden="true" layer="true"/>
   </hbox>
 
   <hbox id="full-screen-warning-container" hidden="true" fadeout="true">
-    <hbox style="min-width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
+    <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
       <hbox id="full-screen-warning-message">
         <description id="full-screen-warning-text" value="&domFullScreenWarning.label;"></description>
       </hbox>
     </hbox>
   </hbox>
 
   <vbox id="browser-bottombox" layer="true">
     <toolbar id="inspector-toolbar"