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

async="" should be allowed on inline module scripts #3319

Closed
domenic opened this issue Jan 3, 2018 · 0 comments
Closed

async="" should be allowed on inline module scripts #3319

domenic opened this issue Jan 3, 2018 · 0 comments

Comments

@domenic
Copy link
Member

domenic commented Jan 3, 2018

The async and defer attributes are boolean attributes that indicate how the script should be evaluated. Classic scripts may specify defer or async; module scripts may specify async. The defer and async attributes must not be specified if the src attribute is not present.

This last sentence is not right. async="" is useful (and, per the prepare a script algorithm, has the desired effect) for module scripts. The authoring guidance should allow it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant