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 327823 ad65ef375531be5194596b4feec62ba7bdd02c49
parent 327822 26581e77ff1b6e2d39f53b8fb41778d353b6315e
child 327824 2062a9e37ad9b4ccb4eac3d3e34ab67dd407b4eb
push idunknown
push userunknown
push dateunknown
reviewersjaws
bugs1274104
milestone49.0a1
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