mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement Element.innerHTML setter
This commit is contained in:
parent
a521755607
commit
99286e4b4f
9 changed files with 109 additions and 67 deletions
|
@ -58,7 +58,7 @@ impl<'a> DOMParserMethods for JSRef<'a, DOMParser> {
|
|||
Some(content_type),
|
||||
None,
|
||||
DocumentSource::FromParser).root();
|
||||
parse_html(document.r(), HTMLInput::InputString(s), &url);
|
||||
parse_html(document.r(), HTMLInput::InputString(s), &url, None);
|
||||
document.r().set_ready_state(DocumentReadyState::Complete);
|
||||
Ok(Temporary::from_rooted(document.r()))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue