Bug 1099052 - don't use transform or flex when elements are full screen roots, r?dholbert
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -723,16 +723,21 @@ area {
}
iframe:-moz-full-screen {
/* iframes in full-screen mode don't show a border. */
border: none !important;
padding: 0 !important;
}
+*|*:not(:root):-moz-full-screen {
+ transform: none !important;
+ flex: none !important;
+}
+
/* media elements */
video > xul|videocontrols, audio > xul|videocontrols {
display: -moz-box;
-moz-box-orient: vertical;
-moz-binding: url("chrome://global/content/bindings/videocontrols.xml#videoControls");
}
video:not([controls]) > xul|videocontrols,