| Index: lib/src/iron-selector/test/activate-event.html
|
| diff --git a/lib/src/iron-selector/test/activate-event.html b/lib/src/iron-selector/test/activate-event.html
|
| index 8390548f46e3370bcc70d2ecf03f0dcfb20af6a2..9b47eb09b9202e7ecfed724b4624ad4b13478829 100644
|
| --- a/lib/src/iron-selector/test/activate-event.html
|
| +++ b/lib/src/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>
|
|
|