mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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
This commit is contained in:
parent
2729864af7
commit
3389c497c0
29 changed files with 393 additions and 96 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue