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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js

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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js
index c3c942a28e2ffc50a492c01a9f5675331e798e2e..f6acdd050d2b47f42fb2a712d32799b67a1e78bc 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/iron-checked-element-behavior/iron-checked-element-behavior-extracted.js
@@ -59,10 +59,10 @@
/**
* Returns false if the element is required and not checked, and true otherwise.
* @param {*=} _value Ignored.
- * @return {boolean} true if `required` is false, or if `required` and `checked` are both true.
+ * @return {boolean} true if `required` is false or if `checked` is true.
*/
_getValidity: function(_value) {
- return this.disabled || !this.required || (this.required && this.checked);
+ return this.disabled || !this.required || this.checked;
},
/**

Powered by Google App Engine
This is Rietveld 408576698