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

"prepare a script" could be more precise about documents #7589

Closed
domenic opened this issue Feb 7, 2022 · 0 comments
Closed

"prepare a script" could be more precise about documents #7589

domenic opened this issue Feb 7, 2022 · 0 comments
Labels
clarification Standard could be clearer topic: script

Comments

@domenic
Copy link
Member

domenic commented Feb 7, 2022

Some steps in "prepare a script" are nice and precise about documents. They establish a parser-time document, a preparation time document (= the node document at that time); they make sure they are the same.

Then things get imprecise around step 26-28, with one instance of "the pending parsing-blocking script of the Document" and lots of talk about "the Document of the parser that created the element". These could be cleaned up.

@domenic domenic added clarification Standard could be clearer topic: script labels Feb 7, 2022
domenic added a commit that referenced this issue Apr 21, 2022
The only normative change here is to delay the load event of the script's preparation-time document, instead of its node document (which could change while the fetching is in progress). Closes #5160.

Otherwise, this consists of cleanups to use more precise language for certain documents, thus closing #7589, and of the pending parsing-blocking script concept to use more imperative language.
domenic added a commit that referenced this issue Apr 26, 2022
The only normative change here is to delay the load event of the script's preparation-time document, instead of its node document (which could change while the fetching is in progress). Closes #5160.

Otherwise, this consists of cleanups to use more precise language for certain documents, thus closing #7589, and of the pending parsing-blocking script concept to use more imperative language.
@domenic domenic closed this as completed May 18, 2022
mfreed7 pushed a commit to mfreed7/html that referenced this issue Jun 3, 2022
The only normative change here is to delay the load event of the script's preparation-time document, instead of its node document (which could change while the fetching is in progress). Closes whatwg#5160.

Otherwise, this consists of cleanups to use more precise language for certain documents, thus closing whatwg#7589, and of the pending parsing-blocking script concept to use more imperative language.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer topic: script
Development

No branches or pull requests

1 participant