Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cssparser. #9380

Merged
merged 1 commit into from Jan 21, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -35,7 +35,7 @@ path = "../plugins"
path = "../util"

[dependencies]
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
euclid = {version = "0.4", features = ["plugins"]}
serde_macros = "0.6"

@@ -55,7 +55,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"
fnv = "1.0"
bitflags = "0.3"
@@ -21,7 +21,7 @@ git = "https://github.com/servo/ipc-channel"
path = "../plugins"

[dependencies]
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
bitflags = "0.3"
hyper = { version = "0.7", features = [ "serde-serialization" ] }
rustc-serialize = "0.3.4"
@@ -64,7 +64,7 @@ path = "../gfx_traits"

[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"
encoding = "0.2"
fnv = "1.0"

Some generated files are not rendered by default. Learn more.

@@ -20,7 +20,7 @@ path = "../style_traits"

[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"
encoding = "0.2"
fnv = "1.0"
@@ -91,7 +91,7 @@ impl<'a, 'b> DeclarationParser for FontFaceRuleParser<'a, 'b> {
Ok(FontFaceDescriptorDeclaration::Src(try!(input.parse_comma_separated(|input| {
parse_one_src(self.context, input)
}))))
}
},
_ => Err(())
}
}
@@ -15,6 +15,8 @@
#![plugin(serde_macros)]
#![plugin(plugins)]

#![recursion_limit = "500"] // For match_ignore_ascii_case in PropertyDeclaration::parse

extern crate app_units;
#[macro_use]
extern crate bitflags;
@@ -133,7 +133,7 @@ impl Expression {
},
"max-width" => {
Ok(Expression::Width(Range::Max(try!(specified::Length::parse_non_negative(input)))))
}
},
_ => Err(())
}
})
@@ -157,7 +157,7 @@ impl MediaQuery {
media_type = match_ignore_ascii_case! { ident,
"screen" => MediaQueryType::MediaType(MediaType::Screen),
"print" => MediaQueryType::MediaType(MediaType::Print),
"all" => MediaQueryType::All
"all" => MediaQueryType::All,
_ => MediaQueryType::MediaType(MediaType::Unknown)
}
} else {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.