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

Unified Diff: third_party/polymer/components/paper-radio-button/paper-radio-button.html

Issue 924623002: Update paper-radio-button to 0.5.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « third_party/polymer/components/paper-radio-button/paper-radio-button.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/polymer/components/paper-radio-button/paper-radio-button.html
diff --git a/third_party/polymer/components/paper-radio-button/paper-radio-button.html b/third_party/polymer/components/paper-radio-button/paper-radio-button.html
index d9457bb4f726ee23bf4900a5871c68b21920a240..59478de613db158e89d938bdb6542c2429769f5b 100644
--- a/third_party/polymer/components/paper-radio-button/paper-radio-button.html
+++ b/third_party/polymer/components/paper-radio-button/paper-radio-button.html
@@ -32,7 +32,11 @@ To change the radio checked color:
paper-radio-button::shadow #onRadio {
background-color: #4285f4;
}
-
+
+ paper-radio-button[checked]::shadow #offRadio {
+ border-color: #4285f4;
+ }
+
To change the ink color for unchecked state:
paper-radio-button::shadow #ink {
@@ -148,8 +152,7 @@ To change the radio unchecked color:
},
checkedChanged: function() {
- this.$.onRadio.classList.toggle('fill', this.checked);
- this.setAttribute('aria-checked', this.checked ? 'true': 'false');
+ this.setAttribute('aria-checked', this.checked ? 'true' : 'false');
this.fire('core-change');
},
« no previous file with comments | « third_party/polymer/components/paper-radio-button/paper-radio-button.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698