Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement the create an element for token algorithm #19397
Conversation
highfive
commented
Nov 27, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Nov 27, 2017
|
r? @jdm |
|
The test that led me to discover this was to take parser-fallsback-to-unknown-element.html and add a |
| // Step 6.1. | ||
| // TODO: handle throw-on-dynamic-markup-insertion counter. | ||
| // Step 6.2 | ||
| // TODO: If the JavaScript execution context stack is empty, then perform a microtask checkpoint. |
This comment has been minimized.
This comment has been minimized.
jdm
Nov 27, 2017
Member
We should add an API to https://github.com/servo/servo/blob/master/components/script/dom/bindings/settings_stack.rs to check this.
|
|
||
| // Step 5. | ||
| // TODO: Check if the parser was created for the HTML fragment parsing algorithm | ||
| let will_execute_scrtipt = definition.is_some(); |
This comment has been minimized.
This comment has been minimized.
| let definition = document.lookup_custom_element_definition(&name.ns, &name.local, is.as_ref()); | ||
|
|
||
| // Step 5. | ||
| // TODO: Check if the parser was created for the HTML fragment parsing algorithm |
This comment has been minimized.
This comment has been minimized.
|
|
||
| // TODO: Step 10. | ||
| // TODO: Step 11. | ||
| // TODO: Step 12. |
This comment has been minimized.
This comment has been minimized.
e17b271
to
df301b5
|
@bors-servo: try |
Implement the create an element for token algorithm <!-- Please describe your changes on the following line: --> --- <!-- 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 #19392 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19397) <!-- Reviewable:end -->
|
|
|
Bleah:
|
|
@bors-servo try |
Implement the create an element for token algorithm <!-- Please describe your changes on the following line: --> --- <!-- 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 #19392 and fix #19393 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19397) <!-- Reviewable:end -->
|
|
|
Failed with #19495 |
|
@bors-servo retry |
Implement the create an element for token algorithm <!-- Please describe your changes on the following line: --> --- <!-- 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 #19392 and fix #19393 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19397) <!-- Reviewable:end -->
|
I appreciate the support, but I was watching the build and it didn't need a retry. |
|
|
|
r? @nox for the last commit. I've reviewed the rest of them. |
|
@bors-servo r=jdm,nox |
|
|
Implement the create an element for token algorithm <!-- Please describe your changes on the following line: --> --- <!-- 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 #19392 and fix #19393 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19397) <!-- Reviewable:end -->
|
|
cbrewster commentedNov 27, 2017
•
edited by jdm
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is