Index: polymer_1.2.3/bower_components/iron-selector/test/activate-event.html |
diff --git a/polymer_1.0.4/bower_components/iron-selector/test/activate-event.html b/polymer_1.2.3/bower_components/iron-selector/test/activate-event.html |
similarity index 92% |
copy from polymer_1.0.4/bower_components/iron-selector/test/activate-event.html |
copy to polymer_1.2.3/bower_components/iron-selector/test/activate-event.html |
index 8390548f46e3370bcc70d2ecf03f0dcfb20af6a2..9b47eb09b9202e7ecfed724b4624ad4b13478829 100644 |
--- a/polymer_1.0.4/bower_components/iron-selector/test/activate-event.html |
+++ b/polymer_1.2.3/bower_components/iron-selector/test/activate-event.html |
@@ -130,6 +130,17 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
assert.equal(s.selected, '0'); |
}); |
+ test('activates after detach and re-attach', function() { |
+ // Detach and re-attach |
+ var parent = s.parentNode; |
+ parent.removeChild(s); |
+ parent.appendChild(s); |
+ |
+ // select Item 2 |
+ s.children[2].dispatchEvent(new CustomEvent('tap', {bubbles: true})); |
+ assert.equal(s.selected, '2'); |
+ }); |
+ |
}); |
</script> |