Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HTML Module explainer wording around <script> elements #880

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

trusktr
Copy link
Contributor

@trusktr trusktr commented May 15, 2020

This makes the wording imply that besides <script> element the HTML Module can contain any other elements, while explaining the same type=module requirement as before.

Modified

it is only allowed to contain <script> elements of type="module"

to

any <script> elements in the markup must be of type="module"

Reasoning: if an HTML Module were only allowed to contain script tags (of type module in this case) that would be boring!

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