Skip to content

use updated html5ever TraversalScope type - #17896

Closed
moonlightdrive wants to merge 2 commits into
servo:masterfrom
moonlightdrive:serializing-childrenonly
Closed

moonlightdrive wants to merge 2 commits into
servo:masterfrom
moonlightdrive:serializing-childrenonly

Conversation

@moonlightdrive

@moonlightdrive moonlightdrive commented Jul 27, 2017 •

Copy link
Copy Markdown
Contributor

This PR depends on servo/html5ever#277

cc @jdm


  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @fitzgen: components/script/dom/element.rs, components/script/dom/servoparser/html.rs
  • @KiChjang: components/script/dom/element.rs, components/script/dom/servoparser/html.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 27, 2017
@moonlightdrive
moonlightdrive force-pushed the serializing-childrenonly branch from 4560cf3 to c9c33f3 Compare July 27, 2017 21:41

@jdm jdm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! We'll need to update to html5ever before this can merge, though.

Comment thread components/script/dom/element.rs Outdated
fn GetInnerHTML(&self) -> Fallible<DOMString> {
// XXX TODO: XML case
self.serialize(ChildrenOnly)
let qname = QualName::new(None, self.namespace().clone(),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pass self.prefix().clone() as the first argument.

@jdm jdm added S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. and removed S-awaiting-review There is new code that needs to be reviewed. labels Aug 10, 2017
@moonlightdrive
moonlightdrive force-pushed the serializing-childrenonly branch from c9c33f3 to fbb3e00 Compare August 15, 2017 02:26
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 15, 2017
@jdm jdm removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 21, 2017
@jdm

jdm commented Aug 23, 2017

Copy link
Copy Markdown
Member

This is now waiting on servo/html5ever#304 and new published versions of the various parser crates.

@jdm

jdm commented Sep 13, 2017

Copy link
Copy Markdown
Member

html5ever 0.20 has been released! You'll want to update the script/ Cargo.toml to make use of it.

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. labels Sep 13, 2017
@jdm

jdm commented Oct 4, 2017

Copy link
Copy Markdown
Member

Rebased in #18747. Thanks!

@jdm jdm closed this Oct 4, 2017
bors-servo pushed a commit that referenced this pull request Oct 6, 2017
Serializing childrenonly

Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes

<!-- 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/18747)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Oct 7, 2017
Serializing childrenonly

Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes

<!-- 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/18747)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Oct 9, 2017
Serializing childrenonly

Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes

<!-- 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/18747)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Oct 9, 2017
Serializing childrenonly

Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [x] There are tests for these changes

<!-- 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/18747)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-needs-code-changes Changes have not yet been made that were requested by a reviewer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

innerHTML on a script tag escapes tag characters

3 participants