From 23269f8082462858f1f64ecf286fc5ff22711a1a Mon Sep 17 00:00:00 2001 From: Marcin Warpechowski Date: Tue, 17 Jan 2017 18:53:18 +0100 Subject: [PATCH] test that the import is renderred correctly when removed and reattached to DOM (#26) currently fails --- test/index.html | 3 +- test/use-cases/dom-manipulation/reattach.html | 96 +++++++++++++++++++ .../dom-manipulation/reattach.import.html | 9 ++ 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 test/use-cases/dom-manipulation/reattach.html create mode 100644 test/use-cases/dom-manipulation/reattach.import.html diff --git a/test/index.html b/test/index.html index 8b881ed..b2f5f60 100644 --- a/test/index.html +++ b/test/index.html @@ -23,7 +23,8 @@ 'use-cases/previousElementSibling/previousElementSibling.html', 'use-cases/dom-bind/dom-bind.html', 'use-cases/dom-bind/dom-repeat.html', - 'use-cases/dom-bind/notify-dom-bind.html' + 'use-cases/dom-bind/notify-dom-bind.html', + 'use-cases/dom-manipulation/reattach.html' ]); diff --git a/test/use-cases/dom-manipulation/reattach.html b/test/use-cases/dom-manipulation/reattach.html new file mode 100644 index 0000000..68be473 --- /dev/null +++ b/test/use-cases/dom-manipulation/reattach.html @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/use-cases/dom-manipulation/reattach.import.html b/test/use-cases/dom-manipulation/reattach.import.html new file mode 100644 index 0000000..b46091f --- /dev/null +++ b/test/use-cases/dom-manipulation/reattach.import.html @@ -0,0 +1,9 @@ +