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

Use CE reaction queue when inserting an element from non-fragment parser #25755

Merged
merged 1 commit into from Feb 14, 2020

Conversation

@pshaughn
Copy link
Member

pshaughn commented Feb 13, 2020

Changed async_html Tokenizer so it can remember whether it's for a fragment and changed servoparser node insertion to respect the CE queue requirements of https://html.spec.whatwg.org/multipage/parsing.html#insert-a-foreign-element; it passes a WPT test.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #25746
  • There are tests for these changes
@highfive
Copy link

highfive commented Feb 13, 2020

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/servoparser/mod.rs, components/script/dom/servoparser/async_html.rs
  • @KiChjang: components/script/dom/servoparser/mod.rs, components/script/dom/servoparser/async_html.rs
@nox
Copy link
Member

nox commented Feb 14, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

📌 Commit 345470b has been approved by nox

@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

Testing commit 345470b with merge 38adec6...

bors-servo added a commit that referenced this pull request Feb 14, 2020
Use CE reaction queue when inserting an element from non-fragment parser

<!-- Please describe your changes on the following line: -->
Changed async_html Tokenizer so it can remember whether it's for a fragment and changed servoparser node insertion to respect the CE queue requirements of https://html.spec.whatwg.org/multipage/parsing.html#insert-a-foreign-element; it passes a WPT test.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25746

<!-- Either: -->
- [X] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 14, 2020

☀️ Test successful - status-taskcluster
Approved by: nox
Pushing 38adec6 to master...

@bors-servo bors-servo merged commit 345470b into servo:master Feb 14, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.