Bug 1274104 part 3 - Always treat fullscreen button is available. r=jaws
authorXidorn Quan <me@upsuper.org>
Wed, 25 May 2016 09:39:38 +1000
changeset 337695 ad65ef375531be5194596b4feec62ba7bdd02c49
parent 337694 26581e77ff1b6e2d39f53b8fb41778d353b6315e
child 337696 2062a9e37ad9b4ccb4eac3d3e34ab67dd407b4eb
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1274104
milestone49.0a1
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 1274104 part 3 - Always treat fullscreen button is available. r=jaws MozReview-Commit-ID: 6wZFpBdOVqR
toolkit/content/tests/widgets/test_videocontrols.html
--- a/toolkit/content/tests/widgets/test_videocontrols.html
+++ b/toolkit/content/tests/widgets/test_videocontrols.html
@@ -24,18 +24,18 @@ const videoWidth = 320;
 const videoHeight = 240;
 const videoDuration = 3.8329999446868896;
 
 const playButtonWidth = 28;
 const playButtonHeight = 28;
 const muteButtonWidth = 33;
 const muteButtonHeight = 28;
 const durationWidth = 34;
-const fullscreenButtonWidth = document.fullscreenEnabled ? 28 : 0;
-const fullscreenButtonHeight = document.fullscreenEnabled ? 28 : 0;
+const fullscreenButtonWidth = 28;
+const fullscreenButtonHeight = 28;
 const volumeSliderWidth = 32;
 const scrubberWidth = videoWidth - playButtonWidth - durationWidth - muteButtonWidth - volumeSliderWidth - fullscreenButtonWidth;
 const scrubberHeight = 28;
 
 // Play button is on the bottom-left
 const playButtonCenterX = 0 + Math.round(playButtonWidth / 2);
 const playButtonCenterY = videoHeight - Math.round(playButtonHeight / 2);
 // Mute button is on the bottom-right before the full screen button and volume slider