Upgrade to html5ever 0.16

This commit is contained in:
Simon Sapin 2017-05-02 11:10:49 +02:00
parent f284a15e4b
commit 6c518c89b9
104 changed files with 363 additions and 471 deletions

View file

@ -16,7 +16,7 @@ testing = ["style/testing"]
app_units = "0.4"
cssparser = "0.13"
euclid = "0.11"
html5ever-atoms = "0.3"
html5ever = "0.16"
parking_lot = "0.3"
rayon = "0.6"
rustc-serialize = "0.3"

View file

@ -8,7 +8,7 @@
extern crate app_units;
extern crate cssparser;
extern crate euclid;
#[macro_use] extern crate html5ever_atoms;
#[macro_use] extern crate html5ever;
extern crate parking_lot;
extern crate rayon;
extern crate rustc_serialize;

View file

@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use cssparser::{self, Parser as CssParser, SourcePosition};
use html5ever_atoms::{Namespace as NsAtom};
use html5ever::{Namespace as NsAtom};
use media_queries::CSSErrorReporterTest;
use parking_lot::RwLock;
use selectors::parser::*;

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use html5ever_atoms::LocalName;
use html5ever::LocalName;
use selectors::parser::LocalName as LocalNameSelector;
use selectors::parser::Selector;
use servo_atoms::Atom;