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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-dropdown/iron-dropdown.html

Issue 2158913007: Roll Polymer from 1.5.0 -> 1.6.0 to pick up native CSS custom props (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 5 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 @license 2 @license
3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><html><head><link rel="import" href="../polymer/polymer.html"> 9 --><html><head><link rel="import" href="../polymer/polymer.html">
10 <link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html "> 10 <link rel="import" href="../iron-resizable-behavior/iron-resizable-behavior.html ">
(...skipping 24 matching lines...) Expand all
35 </iron-dropdown> 35 </iron-dropdown>
36 36
37 In the above example, the `<div>` with class `.dropdown-content` will be 37 In the above example, the `<div>` with class `.dropdown-content` will be
38 hidden until the dropdown element has `opened` set to true, or when the `open` 38 hidden until the dropdown element has `opened` set to true, or when the `open`
39 method is called on the element. 39 method is called on the element.
40 40
41 @demo demo/index.html 41 @demo demo/index.html
42 --> 42 -->
43 43
44 </head><body><dom-module id="iron-dropdown"> 44 </head><body><dom-module id="iron-dropdown">
45 <style> 45 <template>
46 :host { 46 <style>
47 position: fixed; 47 :host {
48 } 48 position: fixed;
49 }
49 50
50 #contentWrapper ::content > * { 51 #contentWrapper ::content > * {
51 overflow: auto; 52 overflow: auto;
52 } 53 }
53 54
54 #contentWrapper.animating ::content > * { 55 #contentWrapper.animating ::content > * {
55 overflow: hidden; 56 overflow: hidden;
56 } 57 }
57 </style> 58 </style>
58 <template> 59
59 <div id="contentWrapper"> 60 <div id="contentWrapper">
60 <content id="content" select=".dropdown-content"></content> 61 <content id="content" select=".dropdown-content"></content>
61 </div> 62 </div>
62 </template> 63 </template>
63 64
64 </dom-module> 65 </dom-module>
65 <script src="iron-dropdown-extracted.js"></script></body></html> 66 <script src="iron-dropdown-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698