servo/resources
bors-servo 9c2dffdf72 Auto merge of #17037 - cynicaldevil:impl-Sink, r=nox
Added Async HTML Tokenizer

Design: I realized having two different parsers for sync and async was wrong, because the API for both was fundamentally the same. All I needed to do was create another Tokenizer, because `ParseNode` ( representation for nodes which are yet to be created) is used by the TreeBuilder and the Sink, and the `Tokenizer` is the 'lowermost' type concerned with these two types.

Therefore, I created one and placed it in `async_html.rs`, and also created a new Sink which deals with `ParseNode`s. I changed the methods in ServoParser to take an `async` argument too, which decides which Tokenizer will be used. The Tokenizer isn't exactly *async* for now, but this PR separates action creation from execution, which allows the async behaviour to be implemented later. Right now, all actions are executed soon after they are created.

The Sink consists of two Hashmaps, `nodes`, which contains the actual nodes, with the key being their corresponding `ParseNode`'s id, and `parse_node_data`, which contains metadata about the nodes.

It's still a bit rough, (I can't figure out how to deal with `complete_script` and `is_mathml_annotation_xml_integration_point`, along with some other parts I wrote in a hurry), but I believe the overall design is sound. I'd like to hear what you think about it.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17037)
<!-- Reviewable:end -->
2017-06-17 02:21:19 -07:00
..
ahem Import the Ahem font from http://www.w3.org/Style/CSS/Test/Fonts/Ahem/ 2015-08-07 21:08:53 +02:00
user-agent-js Basic userscript support 2015-03-22 15:13:11 +05:30
ahem.css Make the Ahem font available to test-css and test-wpt tests. 2015-08-07 21:38:55 +02:00
android_params Update test expectations, remove webrender prefs/cmd line. 2016-09-28 18:42:30 +10:00
badcert.html Use the I Tried star in place of a more accusatory meme. 2016-06-29 15:03:06 -04:00
badcert.jpg Add xpcshell script and warning 2015-01-31 15:40:54 +05:30
cert-google-only Add xpcshell script and warning 2015-01-31 15:40:54 +05:30
certs Auto merge of #15106 - Manishearth:certs, r=avadacatavra 2017-04-03 12:50:21 -05:00
Credits.rtf.mako Add servo version to mac about servo window. 2016-08-19 18:55:27 -05:00
failure.html Read user-agent.css at run time. Fix #3516 2014-10-07 21:16:54 +01:00
gatt_blocklist.txt Fix invalid descriptor uuid 2016-12-07 00:03:59 +01:00
hsts_preload.json Fix the parsing of the chromium HSTS preload list 2015-12-02 15:36:38 +11:00
iso-8859-8.css Don't link to specific WHATWG multipage page 2015-04-16 22:39:25 -04:00
itried.jpg Moving Servo's cry message! 2015-11-23 02:52:38 +05:30
neterror.html Improve page load error information 2016-07-21 16:06:13 +02:00
not-found.html Redirect to an error page when file's not found 2015-11-26 11:20:42 +05:30
package-prefs.json Package: Restore run-servo script on MacOS 2017-01-06 03:30:53 +01:00
prefs.json Auto merge of #17037 - cynicaldevil:impl-Sink, r=nox 2017-06-17 02:21:19 -07:00
presentational-hints.css ol[type=…] and li[type=…] preshints need to be case-sensitive 2017-05-18 17:13:18 +02:00
privatekey_for_testing.key Implement HSTS fetch step 2016-12-29 12:55:31 +05:30
public_domains.txt Add mach command to update public domain list and use a HashSet instead of a Vec to lookup public domains 2016-06-09 09:14:01 +02:00
quirks-mode.css layout: Implement <table width> and <center>. 2015-05-11 12:53:45 -07:00
quotes.css Don't link to specific WHATWG multipage page 2015-04-16 22:39:25 -04:00
rippy.png Use the correct .png extension for the image placeholder. 2015-11-13 11:45:09 -08:00
self_signed_certificate_for_testing.crt Implement HSTS fetch step 2016-12-29 12:55:31 +05:30
servo.css Inherit 'text-overflow' and 'overflow' in text fragment 2017-04-05 11:04:30 +08:00
servo.icns create an app bundle and package it in dmg 2016-06-28 13:09:08 -06:00
Servo.ico Add new Servo icon for Windows 2017-04-17 23:38:51 -07:00
servo.png Add a border to the logo to differentiate from background color. 2016-06-21 09:41:36 -04:00
tumbeast.png Redirect to an error page when file's not found 2015-11-26 11:20:42 +05:30
user-agent.css Add support for fullscreen #10102 2016-12-09 11:45:50 +01:00