aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoxmlparser.rs
diff options
context:
space:
mode:
authorConnor Brewster <brewsterc@my.caspercollege.edu>2016-04-14 14:56:38 -0600
committerConnor Brewster <brewsterc@my.caspercollege.edu>2016-04-27 08:44:13 -0600
commit3389c497c0ca740dbcd4fd56a4fc8d490f7a8592 (patch)
tree86aebd6dafad16ac7c54ebd0a366226b5ebc8836 /components/script/dom/servoxmlparser.rs
parent2729864af73d62719ea0fd55cef417c43bdd951e (diff)
downloadservo-3389c497c0ca740dbcd4fd56a4fc8d490f7a8592.tar.gz
servo-3389c497c0ca740dbcd4fd56a4fc8d490f7a8592.zip
Finish hooking up XML parser
added script integration with xml5ever Updated test expectations Removed timeout test expectation Refactors application/xhtml+xml is treated as HTML Updated xml5ever Updated Text Expectations
Diffstat (limited to 'components/script/dom/servoxmlparser.rs')
-rw-r--r--components/script/dom/servoxmlparser.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/servoxmlparser.rs b/components/script/dom/servoxmlparser.rs
index 6baa7e183ff..6809da631f1 100644
--- a/components/script/dom/servoxmlparser.rs
+++ b/components/script/dom/servoxmlparser.rs
@@ -128,6 +128,8 @@ impl ServoXMLParser {
if !pending_input.is_empty() {
let chunk = pending_input.remove(0);
self.tokenizer.borrow_mut().feed(chunk.into());
+ } else {
+ self.tokenizer.borrow_mut().run();
}
// Document parsing is blocked on an external resource.