OLD | NEW |
1 <sky> | 1 <sky> |
2 <import src="../resources/chai.sky" /> | 2 <import src="../resources/chai.sky" /> |
3 <import src="../resources/mocha.sky" /> | 3 <import src="../resources/mocha.sky" /> |
4 <import src="../resources/test-element.sky" as="TestElement" /> | 4 <import src="../resources/test-element.sky" as="TestElement" /> |
5 <import src="/sky/framework/sky-element/sky-element.sky" as="SkyElement" /> | 5 <import src="/sky/framework/elements/sky-element/sky-element.sky" as="SkyElement
" /> |
6 | 6 |
7 <div id="sandbox"></div> | 7 <div id="sandbox"></div> |
8 | 8 |
9 <test-element id="parser-element" checked="true" size="10" name="foo bar" /> | 9 <test-element id="parser-element" checked="true" size="10" name="foo bar" /> |
10 | 10 |
11 <sky-element name="test-element-parent"> | 11 <sky-element name="test-element-parent"> |
12 <template> | 12 <template> |
13 <test-element size="{{ size }}" /> | 13 <test-element size="{{ size }}" /> |
14 </template> | 14 </template> |
15 <script> | 15 <script> |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 assert.equal(element.shadowRootReadyCount, 0); | 215 assert.equal(element.shadowRootReadyCount, 0); |
216 sandbox.appendChild(element); | 216 sandbox.appendChild(element); |
217 assert.equal(element.shadowRootReadyCount, 1); | 217 assert.equal(element.shadowRootReadyCount, 1); |
218 element.remove(); | 218 element.remove(); |
219 sandbox.appendChild(element); | 219 sandbox.appendChild(element); |
220 assert.equal(element.shadowRootReadyCount, 1); | 220 assert.equal(element.shadowRootReadyCount, 1); |
221 }); | 221 }); |
222 }); | 222 }); |
223 </script> | 223 </script> |
224 </sky> | 224 </sky> |
OLD | NEW |