Backed out changeset 672cda014328 (bug 729111)
authorJared Wein <jwein@mozilla.com>
Wed, 04 Apr 2012 13:11:03 -0700
changeset 94334 f1e4ac6159f882274386adc5a9de6b28f92ccd11
parent 94333 02b15cf9157fb02b4132ed25b5009ac40dcf6812
child 94335 a1eb00dcb958d20000ac860de386c6eeff06f8b8
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs729111
milestone14.0a1
backs out672cda014328aa9dcbfaedd4049b3dd2f7b38cbd
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
Backed out changeset 672cda014328 (bug 729111)
toolkit/content/widgets/videocontrols.xml
--- a/toolkit/content/widgets/videocontrols.xml
+++ b/toolkit/content/widgets/videocontrols.xml
@@ -1256,21 +1256,18 @@
                 _overlayPlayButtonWidth : 64,
                 adjustControlSize : function adjustControlSize() {
                     if (this.isAudioOnly)
                         return;
 
                     let videoHeight = this.video.clientHeight;
                     let videoWidth = this.video.clientWidth;
 
-                    if ((this._overlayPlayButtonHeight + this._controlBarHeight) > videoHeight ||
-                        this._overlayPlayButtonWidth > videoWidth)
+                    if (this._overlayPlayButtonHeight > videoHeight || this._overlayPlayButtonWidth > videoWidth)
                         this.clickToPlay.hidden = true;
-                    else if (this.clickToPlay.hidden)
-                        this.clickToPlay.hidden = false;
 
                     // The scrubber has |flex=1|, therefore |minScrubberWidth|
                     // was generated by empirical testing.
                     let minScrubberWidth = 25;
                     let minWidthAllControls = this._playButtonWidth +
                                               minScrubberWidth +
                                               this._durationLabelWidth +
                                               this._muteButtonWidth +