Index: Source/core/css/fullscreen.css |
diff --git a/Source/core/css/fullscreen.css b/Source/core/css/fullscreen.css |
index 09823168df1db0f89693ed78cf173f4ed9a342fd..fb79d5894d43d3ae2ed516dc10546adf68dca7bc 100644 |
--- a/Source/core/css/fullscreen.css |
+++ b/Source/core/css/fullscreen.css |
@@ -21,6 +21,7 @@ |
width: 100% !important; |
height: 100% !important; |
object-fit: contain !important; |
+ transform: none !important; |
} |
iframe:-webkit-full-screen { |
@@ -29,13 +30,6 @@ iframe:-webkit-full-screen { |
/* Anything below are extensions over what the Fullscreen API mandates. */ |
-/* The transform rule is needed to prevent transforms that make sense in the |
- context of the page from messing up the fullscreen rendering. It will likely |
- be added to the spec: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27931 */ |
-:not(:root):-webkit-full-screen { |
- transform: none !important; |
-} |
- |
/* FIXME: Remove these rules when moving Fullscreen to top layer. |
(see crbug.com/240576) */ |
:-webkit-full-screen { |