Index: third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js |
index d84e4eeda12c65b8e070b4578d315059b27a1e72..c00882f2f43ffc80c31f5bec89ece0af452ab38a 100644 |
--- a/third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-control-state-extracted.js |
@@ -1,6 +1,4 @@ |
- |
- |
- /** |
+/** |
* @demo demo/index.html |
* @polymerBehavior |
*/ |
@@ -48,11 +46,6 @@ |
], |
ready: function() { |
- // TODO(sjmiles): ensure read-only property is valued so the compound |
- // observer will fire |
- if (this.focused === undefined) { |
- this._setFocused(false); |
- } |
this.addEventListener('focus', this._boundFocusBlurHandler, true); |
this.addEventListener('blur', this._boundFocusBlurHandler, true); |
}, |
@@ -63,7 +56,6 @@ |
var focused = event.type === 'focus'; |
this._setFocused(focused); |
} else if (!this.shadowRoot) { |
- event.stopPropagation(); |
this.fire(event.type, {sourceEvent: event}, { |
node: this, |
bubbles: event.bubbles, |
@@ -91,5 +83,4 @@ |
} |
} |
- }; |
- |
+ }; |