Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: third_party/WebKit/Source/core/css/fullscreenAndroid.css

Issue 2097983002: Merge to M52: Exclude more CSS properties for fullscreen video on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/fullscreenAndroid.css
diff --git a/third_party/WebKit/Source/core/css/fullscreenAndroid.css b/third_party/WebKit/Source/core/css/fullscreenAndroid.css
new file mode 100644
index 0000000000000000000000000000000000000000..584e3335a5d6e794f43d70cd302c1829522cf5ee
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/fullscreenAndroid.css
@@ -0,0 +1,11 @@
+video:-webkit-full-screen {
+ /* Work around compositing restrictions for fullscreen video on Android. http://crbug.com/618753 */
+ /* Borders and background images appear on top of the video. */
+ border: none !important;
+ background-image: none !important;
+ /* These can result in multiple render passes, in which case the video does not appear. */
+ opacity: 1 !important;
+ -webkit-filter: none !important;
+ border-radius: 0 !important;
+ mix-blend-mode: normal !important;
+}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSDefaultStyleSheets.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTheme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698