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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html

Issue 1187823002: Update Polymer components and re-run reproduce.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html b/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html
index 45d584b288f8ec9f2adf45c90a090fc6700e2550..cad86996d8bd1f5ec6e7aaadf1570100f124848d 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-icon-button/paper-icon-button.html
@@ -11,15 +11,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="../paper-styles/default-theme.html">
<link rel="import" href="../paper-behaviors/paper-button-behavior.html">
-<link rel="import" href="../paper-behaviors/paper-radio-button-behavior.html">
+<link rel="import" href="../paper-behaviors/paper-inky-focus-behavior.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
-<style is="custom-style">
- :root {
- --paper-icon-button-disabled-text: var(--disabled-text-color);
- }
-</style>
-
<!--
Material Design: <a href="http://www.google.com/design/spec/components/buttons.html">Buttons</a>
@@ -97,7 +91,7 @@ Custom property | Description | Default
}
:host([disabled]) {
- color: var(--paper-icon-button-disabled-text, #fff);
+ color: var(--paper-icon-button-disabled-text, --disabled-text-color);
pointer-events: none;
cursor: auto;
@apply(--paper-icon-button-disabled);
@@ -105,7 +99,7 @@ Custom property | Description | Default
</style>
<template>
<paper-ripple id="ink" class="circle" center=""></paper-ripple>
- <iron-icon id="icon" src="[[src]]" icon="[[icon]]"></iron-icon>
+ <iron-icon id="icon" src="[[src]]" icon="[[icon]]" alt$="[[alt]]"></iron-icon>
</template>
</dom-module>
<script src="paper-icon-button-extracted.js"></script></body></html>

Powered by Google App Engine
This is Rietveld 408576698