summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/css/fullscreen.css
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/css/fullscreen.css')
-rw-r--r--Source/WebCore/css/fullscreen.css24
1 files changed, 24 insertions, 0 deletions
diff --git a/Source/WebCore/css/fullscreen.css b/Source/WebCore/css/fullscreen.css
new file mode 100644
index 0000000..2e38c95
--- /dev/null
+++ b/Source/WebCore/css/fullscreen.css
@@ -0,0 +1,24 @@
+:-webkit-full-screen {
+ background-color: white;
+}
+
+:root:full-screen-document:not(:full-screen) {
+ overflow:hidden;
+}
+
+video:-webkit-full-screen {
+ background-color: black;
+ width: auto;
+ height: 100%;
+ max-width: 100%;
+}
+
+img:-webkit-full-screen {
+ width: auto;
+ height: 100%;
+ max-width: 100%;
+}
+
+video:-webkit-full-page-media:-webkit-full-screen::-webkit-media-controls-panel {
+ bottom: 0px;
+}