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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * The default style sheet used to render HTML. 2 * The default style sheet used to render HTML.
3 * 3 *
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 -webkit-margin-start: auto; 136 -webkit-margin-start: auto;
137 -webkit-margin-end: auto; 137 -webkit-margin-end: auto;
138 border-style: inset; 138 border-style: inset;
139 border-width: 1px 139 border-width: 1px
140 } 140 }
141 141
142 map { 142 map {
143 display: inline 143 display: inline
144 } 144 }
145 145
146 video {
147 object-fit: contain;
148 }
149
146 /* heading elements */ 150 /* heading elements */
147 151
148 h1 { 152 h1 {
149 display: block; 153 display: block;
150 font-size: 2em; 154 font-size: 2em;
151 -webkit-margin-before: 0.67__qem; 155 -webkit-margin-before: 0.67__qem;
152 -webkit-margin-after: 0.67em; 156 -webkit-margin-after: 0.67em;
153 -webkit-margin-start: 0; 157 -webkit-margin-start: 0;
154 -webkit-margin-end: 0; 158 -webkit-margin-end: 0;
155 font-weight: bold 159 font-weight: bold
(...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 @page { 1117 @page {
1114 /* FIXME: Define the right default values for page properties. */ 1118 /* FIXME: Define the right default values for page properties. */
1115 size: auto; 1119 size: auto;
1116 margin: auto; 1120 margin: auto;
1117 padding: 0px; 1121 padding: 0px;
1118 border-width: 0px; 1122 border-width: 0px;
1119 } 1123 }
1120 1124
1121 /* noscript is handled internally, as it depends on settings. */ 1125 /* noscript is handled internally, as it depends on settings. */
1122 1126
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698