Skip to content

Commit

Permalink
Bump cssparser to 0.13.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed May 11, 2017
1 parent f579405 commit 1b9bac7
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 29 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/canvas/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ path = "lib.rs"
[dependencies]
azure = {git = "https://github.com/servo/rust-azure"}
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
gleam = "0.4"
ipc-channel = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion components/canvas_traits/Cargo.toml
Expand Up @@ -10,7 +10,7 @@ name = "canvas_traits"
path = "lib.rs"

[dependencies]
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
heapsize = "0.3.0"
heapsize_derive = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion components/layout/Cargo.toml
Expand Up @@ -14,7 +14,7 @@ app_units = "0.4"
atomic_refcell = "0.1"
bitflags = "0.7"
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
fnv = "1.0"
gfx = {path = "../gfx"}
Expand Down
2 changes: 1 addition & 1 deletion components/msg/Cargo.toml
Expand Up @@ -11,7 +11,7 @@ path = "lib.rs"

[dependencies]
bitflags = "0.7"
cssparser = "0.13"
cssparser = "0.13.3"
heapsize = "0.3.0"
heapsize_derive = "0.1"
serde = "0.9"
Expand Down
2 changes: 1 addition & 1 deletion components/script/Cargo.toml
Expand Up @@ -35,7 +35,7 @@ byteorder = "1.0"
canvas_traits = {path = "../canvas_traits"}
caseless = "0.1.0"
cookie = "0.6"
cssparser = "0.13"
cssparser = "0.13.3"
deny_public_fields = {path = "../deny_public_fields"}
devtools_traits = {path = "../devtools_traits"}
dom_struct = {path = "../dom_struct"}
Expand Down
2 changes: 1 addition & 1 deletion components/script_layout_interface/Cargo.toml
Expand Up @@ -13,7 +13,7 @@ path = "lib.rs"
app_units = "0.4"
atomic_refcell = "0.1"
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
gfx_traits = {path = "../gfx_traits"}
heapsize = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion components/selectors/Cargo.toml
Expand Up @@ -20,7 +20,7 @@ doctest = false
[dependencies]
bitflags = "0.7"
matches = "0.1"
cssparser = "0.13"
cssparser = "0.13.3"
fnv = "1.0"
precomputed-hash = "0.1"
smallvec = "0.3"
2 changes: 1 addition & 1 deletion components/style/Cargo.toml
Expand Up @@ -29,7 +29,7 @@ bitflags = "0.7"
bit-vec = "0.4.3"
byteorder = "1.0"
cfg-if = "0.1.0"
cssparser = "0.13.1"
cssparser = "0.13.3"
encoding = {version = "0.2", optional = true}
euclid = "0.11"
fnv = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion components/style_traits/Cargo.toml
Expand Up @@ -16,7 +16,7 @@ gecko = []

[dependencies]
app_units = "0.4"
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
heapsize = {version = "0.3.0", optional = true}
heapsize_derive = {version = "0.1", optional = true}
Expand Down
2 changes: 1 addition & 1 deletion ports/geckolib/Cargo.toml
Expand Up @@ -16,7 +16,7 @@ gecko_debug = ["style/gecko_debug"]

[dependencies]
atomic_refcell = "0.1"
cssparser = "0.13"
cssparser = "0.13.3"
env_logger = {version = "0.4", default-features = false} # disable `regex` to reduce code size
libc = "0.2"
log = {version = "0.3.5", features = ["release_max_level_info"]}
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/style/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ testing = ["style/testing"]
[dependencies]
byteorder = "1.0"
app_units = "0.4"
cssparser = "0.13"
cssparser = "0.13.3"
euclid = "0.11"
html5ever = "0.16"
parking_lot = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/style/animated_properties.rs
Expand Up @@ -16,7 +16,7 @@ fn test_rgba_color_interepolation_preserves_transparent() {
fn test_rgba_color_interepolation_alpha() {
assert_eq!(Color::RGBA(RGBA::new(200, 0, 0, 100))
.interpolate(&Color::RGBA(RGBA::new(0, 200, 0, 200)), 0.5).unwrap(),
Color::RGBA(RGBA::new(66, 133, 0, 150)));
Color::RGBA(RGBA::new(67, 133, 0, 150)));
}

#[test]
Expand All @@ -25,14 +25,14 @@ fn test_rgba_color_interepolation_out_of_range_1() {
// Unclamped cases.
assert_eq!(Color::RGBA(RGBA::from_floats(0.3, 0.0, 0.0, 0.4)).interpolate(
&Color::RGBA(RGBA::from_floats(0.0, 1.0, 0.0, 0.6)), -0.5).unwrap(),
Color::RGBA(RGBA::new(152, 0, 0, 76)));
Color::RGBA(RGBA::new(154, 0, 0, 77)));
}

#[test]
fn test_rgba_color_interepolation_out_of_range_2() {
assert_eq!(Color::RGBA(RGBA::from_floats(1.0, 0.0, 0.0, 0.6)).interpolate(
&Color::RGBA(RGBA::from_floats(0.0, 0.3, 0.0, 0.4)), 1.5).unwrap(),
Color::RGBA(RGBA::new(0, 152, 0, 76)));
Color::RGBA(RGBA::new(0, 154, 0, 77)));
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/stylo/Cargo.toml
Expand Up @@ -16,7 +16,7 @@ testing = ["style/testing"]

[dependencies]
atomic_refcell = "0.1"
cssparser = "0.13"
cssparser = "0.13.3"
env_logger = "0.4"
euclid = "0.11"
libc = "0.2"
Expand Down

0 comments on commit 1b9bac7

Please sign in to comment.