From 02c06aa3b89f94e72f6b19b3f783764b0652aeb5 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 6 Dec 2017 17:07:26 -0800 Subject: [PATCH] Rename html-fn to html-tag Add tests Add a `Polymer.html = Polymer.html` line to `polymer.html` and `polymer-element.html` for modulizer exporting in Polymer 3. --- lib/mixins/element-mixin.html | 1 - lib/utils/{html-fn.html => html-tag.html} | 0 polymer-element.html | 5 + polymer.html | 5 + test/runner.html | 3 +- test/smoke/{html-fn.html => html-tag.html} | 4 +- test/unit/html-tag.html | 114 +++++++++++++++++++++ 7 files changed, 128 insertions(+), 4 deletions(-) rename lib/utils/{html-fn.html => html-tag.html} (100%) rename test/smoke/{html-fn.html => html-tag.html} (99%) create mode 100644 test/unit/html-tag.html diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html index 98caee6696..cbed392302 100644 --- a/lib/mixins/element-mixin.html +++ b/lib/mixins/element-mixin.html @@ -14,7 +14,6 @@ - diff --git a/lib/utils/html-fn.html b/lib/utils/html-tag.html similarity index 100% rename from lib/utils/html-fn.html rename to lib/utils/html-tag.html diff --git a/polymer-element.html b/polymer-element.html index 9b8f911a5e..aeb4a0e193 100644 --- a/polymer-element.html +++ b/polymer-element.html @@ -8,6 +8,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> + + \ No newline at end of file diff --git a/polymer.html b/polymer.html index 0331373cd6..28552fdb8c 100644 --- a/polymer.html +++ b/polymer.html @@ -19,7 +19,12 @@ + + diff --git a/test/runner.html b/test/runner.html index 2177dba9fb..a092dd24e5 100644 --- a/test/runner.html +++ b/test/runner.html @@ -75,6 +75,7 @@ 'unit/render-status.html', 'unit/dir.html', 'unit/shady-unscoped-style.html', + 'unit/html-tag.html' // 'unit/multi-style.html' ]; @@ -115,7 +116,7 @@ // ce + sd becomes a single test iteration. matrix.push('wc-ce=true&wc-shadydom=true'); } - + // economize testing by testing css shimming // only against 1 environment (native or polyfill). if (window.CSS && CSS.supports && CSS.supports('box-shadow', '0 0 0 var(--foo)')) { diff --git a/test/smoke/html-fn.html b/test/smoke/html-tag.html similarity index 99% rename from test/smoke/html-fn.html rename to test/smoke/html-tag.html index fa36f252f5..7f1ad95cbf 100644 --- a/test/smoke/html-fn.html +++ b/test/smoke/html-tag.html @@ -1,4 +1,5 @@ - - diff --git a/test/unit/html-tag.html b/test/unit/html-tag.html new file mode 100644 index 0000000000..5a1c9f528f --- /dev/null +++ b/test/unit/html-tag.html @@ -0,0 +1,114 @@ + + + + + + + + + + + + + \ No newline at end of file