mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #13801 - nox:h5e, r=jdm
Bump html5ever to 0.5.5 <!-- 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/13801) <!-- Reviewable:end -->
This commit is contained in:
commit
cbe2f7e53b
3 changed files with 7 additions and 9 deletions
|
@ -63,7 +63,7 @@ impl<'a> TreeSink for Sink {
|
|||
JS::from_ref(self.document.upcast())
|
||||
}
|
||||
|
||||
fn get_template_contents(&self, target: JS<Node>) -> JS<Node> {
|
||||
fn get_template_contents(&mut self, target: JS<Node>) -> JS<Node> {
|
||||
let template = target.downcast::<HTMLTemplateElement>()
|
||||
.expect("tried to get template contents of non-HTMLTemplateElement in HTML parsing");
|
||||
JS::from_ref(template.Content().upcast())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue