mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update html5ever to 0.10.1
This commit is contained in:
parent
085c52dfbc
commit
330263bf2c
7 changed files with 35 additions and 36 deletions
|
@ -16,7 +16,6 @@ use dom::htmlscriptelement::HTMLScriptElement;
|
|||
use dom::node::Node;
|
||||
use dom::processinginstruction::ProcessingInstruction;
|
||||
use dom::text::Text;
|
||||
use html5ever;
|
||||
use html5ever_atoms::{Prefix, QualName};
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use std::borrow::Cow;
|
||||
|
@ -113,8 +112,8 @@ impl<'a> TreeSink for Sink {
|
|||
let script = node.downcast::<HTMLScriptElement>();
|
||||
if let Some(script) = script {
|
||||
return match script.prepare() {
|
||||
html5ever::tree_builder::NextParserState::Continue => NextParserState::Continue,
|
||||
html5ever::tree_builder::NextParserState::Suspend => NextParserState::Suspend
|
||||
true => NextParserState::Continue,
|
||||
false => NextParserState::Suspend,
|
||||
};
|
||||
}
|
||||
NextParserState::Continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue