mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Bump html5ever to 0.5.5
This commit is contained in:
parent
d80bf2ada7
commit
b6d6b3b7f3
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