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

Side by Side Diff: chrome/renderer/resources/plugins/plugin_poster.html

Issue 1421423005: [css-flexbox] Fix min-size: auto for a non-auto flex basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 5 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/flexbox/min-size-auto.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no"> 5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <script> 6 <script>
7 window.onload = function() { 7 window.onload = function() {
8 if (plugin.didFinishLoading) 8 if (plugin.didFinishLoading)
9 plugin.didFinishLoading(); 9 plugin.didFinishLoading();
10 }; 10 };
(...skipping 19 matching lines...) Expand all
30 position: absolute; 30 position: absolute;
31 top: 0px; 31 top: 0px;
32 width: 100%; 32 width: 100%;
33 z-index: 2; 33 z-index: 2;
34 } 34 }
35 35
36 #plugin-icon { 36 #plugin-icon {
37 opacity: 0.8; 37 opacity: 0.8;
38 max-height: 100%; 38 max-height: 100%;
39 max-width: 100%; 39 max-width: 100%;
40 min-width: 0;
41 min-height: 0;
40 } 42 }
41 43
42 #plugin-icon:hover { 44 #plugin-icon:hover {
43 opacity: 0.95; 45 opacity: 0.95;
44 } 46 }
45 47
46 #poster { 48 #poster {
47 height: 100%; 49 height: 100%;
48 object-fit: contain; 50 object-fit: contain;
49 width: 100%; 51 width: 100%;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 if (plugin.didFinishIconRepositionForTesting) { 97 if (plugin.didFinishIconRepositionForTesting) {
96 // Defer until reflow complete. 98 // Defer until reflow complete.
97 window.setTimeout(function() { 99 window.setTimeout(function() {
98 plugin.didFinishIconRepositionForTesting(); 100 plugin.didFinishIconRepositionForTesting();
99 }); 101 });
100 } 102 }
101 }; 103 };
102 </script> 104 </script>
103 </body> 105 </body>
104 </html> 106 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/flexbox/min-size-auto.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698