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

Side by Side Diff: third_party/polymer/v1_0/components/paper-icon-button/paper-icon-button.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 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS
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 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS
9 --> 9 -->
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 --> 70 -->
71 71
72 <dom-module id="paper-icon-button"> 72 <dom-module id="paper-icon-button">
73 <style> 73 <style>
74 74
75 :host { 75 :host {
76 display: inline-block; 76 display: inline-block;
77 position: relative; 77 position: relative;
78 padding: 8px; 78 padding: 8px;
79 outline: none; 79 outline: none;
80 -webkit-tap-highlight-color: rgba(0,0,0,0);
80 -webkit-user-select: none; 81 -webkit-user-select: none;
81 -moz-user-select: none; 82 -moz-user-select: none;
82 -ms-user-select: none; 83 -ms-user-select: none;
83 user-select: none; 84 user-select: none;
84 cursor: pointer; 85 cursor: pointer;
85 z-index: 0; 86 z-index: 0;
86 87
87 @apply(--paper-icon-button); 88 @apply(--paper-icon-button);
88 } 89 }
89 90
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 _altChanged: function(newValue, oldValue) { 148 _altChanged: function(newValue, oldValue) {
148 var label = this.getAttribute('aria-label'); 149 var label = this.getAttribute('aria-label');
149 150
150 // Don't stomp over a user-set aria-label. 151 // Don't stomp over a user-set aria-label.
151 if (!label || oldValue == label) { 152 if (!label || oldValue == label) {
152 this.setAttribute('aria-label', newValue); 153 this.setAttribute('aria-label', newValue);
153 } 154 }
154 } 155 }
155 }); 156 });
156 </script> 157 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698