Update cssparser.

https://github.com/servo/rust-cssparser/pull/91
This commit is contained in:
Simon Sapin 2016-01-19 14:14:12 +01:00
parent c80fa33864
commit 6fd46b5e6a
21 changed files with 104 additions and 125 deletions

View file

@ -46,7 +46,7 @@ git = "https://github.com/servo/ipc-channel"
[dependencies]
app_units = {version = "0.1", features = ["plugins"]}
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
log = "0.3"
bitflags = "0.3"
html5ever = { version = "0.2.1", features = ["unstable"], optional = true }
@ -57,7 +57,7 @@ smallvec = "0.1"
num_cpus = "0.2.2"
num = "0.1.24"
euclid = {version = "0.4", features = ["plugins"]}
selectors = "0.2"
selectors = "0.2.3"
serde = "0.6"
serde_macros = "0.6"
string_cache = "0.2"

View file

@ -18,7 +18,7 @@ macro_rules! define_cursor {
impl Cursor {
pub fn from_css_keyword(keyword: &str) -> Result<Cursor, ()> {
match_ignore_ascii_case! { keyword,
$( concat!($css) => Ok(Cursor::$variant) ),+
$( concat!($css) => Ok(Cursor::$variant), )+
_ => Err(())
}
}