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

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

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 --> 9 -->
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 type: Boolean, 104 type: Boolean,
105 value: false, 105 value: false,
106 notify: true, 106 notify: true,
107 observer: '_openedChanged' 107 observer: '_openedChanged'
108 } 108 }
109 109
110 }, 110 },
111 111
112 hostAttributes: { 112 hostAttributes: {
113 role: 'group', 113 role: 'group',
114 'aria-expanded': 'false', 114 'aria-expanded': 'false'
115 tabindex: 0
116 }, 115 },
117 116
118 listeners: { 117 listeners: {
119 transitionend: '_transitionEnd' 118 transitionend: '_transitionEnd'
120 }, 119 },
121 120
122 ready: function() { 121 ready: function() {
123 // Avoid transition at the beginning e.g. page loads and enable 122 // Avoid transition at the beginning e.g. page loads and enable
124 // transitions only after the element is rendered and ready. 123 // transitions only after the element is rendered and ready.
125 this._enableTransition = true; 124 this._enableTransition = true;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 }, 186 },
188 187
189 _calcSize: function() { 188 _calcSize: function() {
190 return this.getBoundingClientRect()[this.dimension] + 'px'; 189 return this.getBoundingClientRect()[this.dimension] + 'px';
191 }, 190 },
192 191
193 192
194 }); 193 });
195 194
196 </script> 195 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698