From 3a3eec7d3d3e3ad0b48441fc3e81f48ea78e3866 Mon Sep 17 00:00:00 2001 From: Jared Wein Date: Fri, 22 Nov 2013 00:27:00 -0500 Subject: [PATCH] Backed out changeset b2a0444bc991 (bug 937429) --- toolkit/content/tests/widgets/Makefile.in | 5 +- .../test_videocontrols_standalone.html | 58 ------------------- toolkit/content/widgets/videocontrols.xml | 9 +-- 3 files changed, 4 insertions(+), 68 deletions(-) delete mode 100644 toolkit/content/tests/widgets/test_videocontrols_standalone.html diff --git a/toolkit/content/tests/widgets/Makefile.in b/toolkit/content/tests/widgets/Makefile.in index 6ab3ac330e01..df54378f3dc1 100644 --- a/toolkit/content/tests/widgets/Makefile.in +++ b/toolkit/content/tests/widgets/Makefile.in @@ -5,13 +5,12 @@ MOCHITEST_FILES = \ tree_shared.js \ - test_audiocontrols_dimensions.html \ test_mousecapture_area.html \ test_videocontrols.html \ test_videocontrols_audio.html \ - test_videocontrols_audio_direction.html \ - test_videocontrols_standalone.html \ test_videocontrols_video_direction.html \ + test_videocontrols_audio_direction.html \ + test_audiocontrols_dimensions.html \ videocontrols_direction-1-ref.html \ videocontrols_direction-1a.html \ videocontrols_direction-1b.html \ diff --git a/toolkit/content/tests/widgets/test_videocontrols_standalone.html b/toolkit/content/tests/widgets/test_videocontrols_standalone.html deleted file mode 100644 index b61f49d685b6..000000000000 --- a/toolkit/content/tests/widgets/test_videocontrols_standalone.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - Video controls test - - - - - -

- -
-
-
- - diff --git a/toolkit/content/widgets/videocontrols.xml b/toolkit/content/widgets/videocontrols.xml index 48bf1fa34410..27f6be83d793 100644 --- a/toolkit/content/widgets/videocontrols.xml +++ b/toolkit/content/widgets/videocontrols.xml @@ -344,13 +344,8 @@ this._isAudioOnly = val; if (!this.isTopLevelSyntheticDocument) return; - if (this._isAudioOnly) { - this.video.style.height = this._controlBarHeight + "px"; - this.video.style.width = "66%"; - } else { - this.video.style.removeProperty("height"); - this.video.style.removeProperty("width"); - } + this.video.style.height = this._controlBarHeight + "px"; + this.video.style.width = "66%"; }, suppressError : false,