Bug 604885 - Don't render video controls outside of css-specified width/height. r=roc a=blocking2.0
authorChris Pearce <chris@pearce.org.nz>
Thu, 25 Nov 2010 07:34:56 +1300
changeset 58176 00cabcc7d1821a7440baa82ee671a61afa07c223
parent 58175 df43d548da492c06ef1a5e379dc400e5397909a2
child 58177 8d54b45a181e67d878bca1d22055746f304e60ec
child 59519 4ec43842c3923319f31135bd4b9c5506a2388e84
push id17186
push usercpearce@mozilla.com
push dateWed, 24 Nov 2010 18:37:38 +0000
treeherdermozilla-central@a6d06ecdfde1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, blocking2.0
bugs604885
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 604885 - Don't render video controls outside of css-specified width/height. r=roc a=blocking2.0
layout/style/html.css
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -703,16 +703,20 @@ noembed, param {
    display: none;
 }
 
 area {
   /* Don't give it frames other than its imageframe */
   display: none ! important;
 }
 
+audio, video {
+  overflow: -moz-hidden-unscrollable;
+}
+
 /* media elements */
 video > xul|videocontrols, audio > xul|videocontrols {
   display: -moz-box;
   -moz-box-orient: vertical;
   -moz-binding: url("chrome://global/content/bindings/videocontrols.xml#videoControls");
 }
 
 video:not([controls]) > xul|videocontrols,