Bug 1285964 - Remove !important from object-fit for fullscreen element. r?heycam draft
authorXidorn Quan <me@upsuper.org>
Thu, 14 Jul 2016 11:51:40 +1000
changeset 387487 81caced78351172de46c2bb1e0dff19a7b7a8f43
parent 387455 462c31d176e9b8d74a4cdd58d7257f7402f6b65a
child 525351 d8a31b47c1baaacbb9a8aa6c2892485c8a6dd691
push id22960
push userxquan@mozilla.com
push dateThu, 14 Jul 2016 01:54:39 +0000
reviewersheycam
bugs1285964
milestone50.0a1
Bug 1285964 - Remove !important from object-fit for fullscreen element. r?heycam MozReview-Commit-ID: 1PgMGoBC2lm
layout/style/res/ua.css
--- a/layout/style/res/ua.css
+++ b/layout/style/res/ua.css
@@ -287,17 +287,17 @@
   width: 100% !important;
   height: 100% !important;
   margin: 0 !important;
   min-width: 0 !important;
   max-width: none !important;
   min-height: 0 !important;
   max-height: none !important;
   box-sizing: border-box !important;
-  object-fit: contain !important;
+  object-fit: contain;
   transform: none !important;
 }
 
 /* Selectors here should match the check in
  * nsViewportFrame.cpp:ShouldInTopLayerForFullscreen() */
 *|*:fullscreen:not(:root):not(:-moz-browser-frame) {
   -moz-top-layer: top !important;
 }