mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Update test to avoid template polypill issues.
This commit is contained in:
parent
62f2d2a298
commit
fa96ff3020
@ -56,10 +56,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
</template>
|
||||
</div>
|
||||
|
||||
<template id="trueif">
|
||||
<template is="dom-if" if>
|
||||
<div></div>
|
||||
</template>
|
||||
<template is="dom-if" id="simple">
|
||||
<div></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -502,7 +500,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
suite('queueing race conditions', function() {
|
||||
|
||||
test('domif=true, attach, detach', function(done) {
|
||||
var domif = document.importNode(document.querySelector('#trueif').content, true).firstElementChild;
|
||||
var domif = document.querySelector('#simple');
|
||||
domif.if = true;
|
||||
document.body.appendChild(domif);
|
||||
document.body.removeChild(domif);
|
||||
setTimeout(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user