Skip to content

Conversation

trusktr
Copy link
Contributor

@trusktr trusktr commented May 15, 2020

I modified

<script> elements of type="module" (non-module scripts will cause HTML Module creation to fail)

to

<script> elements of type="module" (non-module scripts will cause HTML Module creation to fail) and <template> elements

Is this correct? It seems to be what the explainer hints at.

@trusktr
Copy link
Contributor Author

trusktr commented May 15, 2020

Nevermind, I was confused. At first I thought the original phrase meant only a <script> tag and no other tags could be in the HTML Module (which would be fairly useless). But I now saw other examples with arbitrary DOM elements besides the <script>.

New pull request: #880

@trusktr trusktr closed this May 15, 2020
@trusktr trusktr deleted the patch-1 branch May 15, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant