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,