Skip to content

Update README.md#24

Merged
ai merged 1 commit intopostcss:mainfrom
subzey:subzey-patch-1
Aug 17, 2023
Merged

Update README.md#24
ai merged 1 commit intopostcss:mainfrom
subzey:subzey-patch-1

Conversation

@subzey
Copy link
Copy Markdown
Contributor

@subzey subzey commented Aug 17, 2023

defer makes no sense for the inline scripts. Please see:

https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement:~:text=are%20affected%20by%20the%20async%20and%20defer%20attributes%2C%20but%20only%20when%20the%20src%20attribute%20is%20set

(And even if it worked, that rather would be harmful as the deferred scripts are executed out-of-sync with the first paint)

`defer` makes no sense for the inline scripts. Please see:

https://html.spec.whatwg.org/multipage/scripting.html#htmlscriptelement:~:text=are%20affected%20by%20the%20async%20and%20defer%20attributes%2C%20but%20only%20when%20the%20src%20attribute%20is%20set

(And even if it worked, that rather would be harmful as the deferred scripts are executed out-of-sync with the first paint)
@ai ai merged commit 40c96ed into postcss:main Aug 17, 2023
@subzey subzey deleted the subzey-patch-1 branch August 17, 2023 12:25
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.

2 participants