function remove() {
var parent = this.parentNode;
if (parent && !this[key].pending.length) parent.removeChild(this);
}
But what if this transition has a name? It seems like the removal should be cancelled if there is any pending transition on the element, not just if there is a pending transition of the same name.
It’s currently implemented as:
But what if this transition has a name? It seems like the removal should be cancelled if there is any pending transition on the element, not just if there is a pending transition of the same name.