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

Unified Diff: Source/core/css/html.css

Issue 22482004: Add support for the object-fit CSS property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Oops, sorry! Forgot to update UseCounter.cpp Created 7 years, 4 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: Source/core/css/html.css
diff --git a/Source/core/css/html.css b/Source/core/css/html.css
index e9f2b6d514483ed763f62f13b4c0ea8dc865d786..dff2fce40ae77b135231a4e1ad240513f5217e52 100644
--- a/Source/core/css/html.css
+++ b/Source/core/css/html.css
@@ -143,6 +143,10 @@ map {
display: inline
}
+video {
+ object-fit: contain;
+}
+
/* heading elements */
h1 {

Powered by Google App Engine
This is Rietveld 408576698