mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #9380 - servo:cssparserup, r=SimonSapin
Update cssparser. https://github.com/servo/rust-cssparser/pull/91 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9380) <!-- Reviewable:end -->
This commit is contained in:
commit
1ba1fb0b7f
21 changed files with 104 additions and 125 deletions
|
@ -35,7 +35,7 @@ path = "../plugins"
|
||||||
path = "../util"
|
path = "../util"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
euclid = {version = "0.4", features = ["plugins"]}
|
euclid = {version = "0.4", features = ["plugins"]}
|
||||||
serde_macros = "0.6"
|
serde_macros = "0.6"
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ git = "https://github.com/servo/ipc-channel"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
bitflags = "0.3"
|
bitflags = "0.3"
|
||||||
|
|
|
@ -21,7 +21,7 @@ git = "https://github.com/servo/ipc-channel"
|
||||||
path = "../plugins"
|
path = "../plugins"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
bitflags = "0.3"
|
bitflags = "0.3"
|
||||||
hyper = { version = "0.7", features = [ "serde-serialization" ] }
|
hyper = { version = "0.7", features = [ "serde-serialization" ] }
|
||||||
rustc-serialize = "0.3.4"
|
rustc-serialize = "0.3.4"
|
||||||
|
|
|
@ -64,7 +64,7 @@ path = "../gfx_traits"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
encoding = "0.2"
|
encoding = "0.2"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
|
|
34
components/servo/Cargo.lock
generated
34
components/servo/Cargo.lock
generated
|
@ -163,7 +163,7 @@ name = "canvas_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx_traits 0.0.1",
|
"gfx_traits 0.0.1",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -328,7 +328,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cssparser"
|
name = "cssparser"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -947,7 +947,7 @@ dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
|
@ -963,7 +963,7 @@ dependencies = [
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script 0.0.1",
|
"script 0.0.1",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1130,7 +1130,7 @@ name = "msg"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -1509,7 +1509,7 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1532,7 +1532,7 @@ dependencies = [
|
||||||
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1582,11 +1582,11 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "selectors"
|
name = "selectors"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1775,7 +1775,7 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1785,7 +1785,7 @@ dependencies = [
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1801,11 +1801,11 @@ name = "style_tests"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"msg 0.0.1",
|
"msg 0.0.1",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"style_traits 0.0.1",
|
"style_traits 0.0.1",
|
||||||
|
@ -1817,14 +1817,14 @@ dependencies = [
|
||||||
name = "style_traits"
|
name = "style_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1954,7 +1954,7 @@ dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1970,7 +1970,7 @@ dependencies = [
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -20,7 +20,7 @@ path = "../style_traits"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
encoding = "0.2"
|
encoding = "0.2"
|
||||||
fnv = "1.0"
|
fnv = "1.0"
|
||||||
|
|
|
@ -91,7 +91,7 @@ impl<'a, 'b> DeclarationParser for FontFaceRuleParser<'a, 'b> {
|
||||||
Ok(FontFaceDescriptorDeclaration::Src(try!(input.parse_comma_separated(|input| {
|
Ok(FontFaceDescriptorDeclaration::Src(try!(input.parse_comma_separated(|input| {
|
||||||
parse_one_src(self.context, input)
|
parse_one_src(self.context, input)
|
||||||
}))))
|
}))))
|
||||||
}
|
},
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
#![plugin(serde_macros)]
|
#![plugin(serde_macros)]
|
||||||
#![plugin(plugins)]
|
#![plugin(plugins)]
|
||||||
|
|
||||||
|
#![recursion_limit = "500"] // For match_ignore_ascii_case in PropertyDeclaration::parse
|
||||||
|
|
||||||
extern crate app_units;
|
extern crate app_units;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate bitflags;
|
extern crate bitflags;
|
||||||
|
|
|
@ -133,7 +133,7 @@ impl Expression {
|
||||||
},
|
},
|
||||||
"max-width" => {
|
"max-width" => {
|
||||||
Ok(Expression::Width(Range::Max(try!(specified::Length::parse_non_negative(input)))))
|
Ok(Expression::Width(Range::Max(try!(specified::Length::parse_non_negative(input)))))
|
||||||
}
|
},
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -157,7 +157,7 @@ impl MediaQuery {
|
||||||
media_type = match_ignore_ascii_case! { ident,
|
media_type = match_ignore_ascii_case! { ident,
|
||||||
"screen" => MediaQueryType::MediaType(MediaType::Screen),
|
"screen" => MediaQueryType::MediaType(MediaType::Screen),
|
||||||
"print" => MediaQueryType::MediaType(MediaType::Print),
|
"print" => MediaQueryType::MediaType(MediaType::Print),
|
||||||
"all" => MediaQueryType::All
|
"all" => MediaQueryType::All,
|
||||||
_ => MediaQueryType::MediaType(MediaType::Unknown)
|
_ => MediaQueryType::MediaType(MediaType::Unknown)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -478,7 +478,7 @@ pub mod longhands {
|
||||||
pub fn parse(_context: &ParserContext, input: &mut Parser)
|
pub fn parse(_context: &ParserContext, input: &mut Parser)
|
||||||
-> Result<SpecifiedValue, ()> {
|
-> Result<SpecifiedValue, ()> {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
% for value in values[:-1]:
|
% for value in values:
|
||||||
"${value}" => {
|
"${value}" => {
|
||||||
% if value in experimental_values:
|
% if value in experimental_values:
|
||||||
if !::util::prefs::get_pref("layout.${value}.enabled")
|
if !::util::prefs::get_pref("layout.${value}.enabled")
|
||||||
|
@ -489,17 +489,6 @@ pub mod longhands {
|
||||||
Ok(computed_value::T::${to_rust_ident(value)})
|
Ok(computed_value::T::${to_rust_ident(value)})
|
||||||
},
|
},
|
||||||
% endfor
|
% endfor
|
||||||
% for value in values[-1:]:
|
|
||||||
"${value}" => {
|
|
||||||
% if value in experimental_values:
|
|
||||||
if !::util::prefs::get_pref("layout.${value}.enabled")
|
|
||||||
.as_boolean().unwrap_or(false) {
|
|
||||||
return Err(())
|
|
||||||
}
|
|
||||||
% endif
|
|
||||||
Ok(computed_value::T::${to_rust_ident(value)})
|
|
||||||
}
|
|
||||||
% endfor
|
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -797,14 +786,9 @@ pub mod longhands {
|
||||||
.map(SpecifiedValue::LengthOrPercentage)
|
.map(SpecifiedValue::LengthOrPercentage)
|
||||||
.or_else(|()| {
|
.or_else(|()| {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
% for keyword in vertical_align_keywords[:-1]:
|
% for keyword in vertical_align_keywords:
|
||||||
"${keyword}" => Ok(SpecifiedValue::${to_rust_ident(keyword)}),
|
"${keyword}" => Ok(SpecifiedValue::${to_rust_ident(keyword)}),
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
// Hack to work around quirks of macro_rules parsing in match_ignore_ascii_case!
|
|
||||||
% for keyword in vertical_align_keywords[-1:]:
|
|
||||||
"${keyword}" => Ok(SpecifiedValue::${to_rust_ident(keyword)})
|
|
||||||
% endfor
|
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -1075,7 +1059,7 @@ pub mod longhands {
|
||||||
list_style_type::parse(context, input)
|
list_style_type::parse(context, input)
|
||||||
}).unwrap_or(list_style_type::computed_value::T::decimal);
|
}).unwrap_or(list_style_type::computed_value::T::decimal);
|
||||||
Ok(ContentItem::Counters(name, separator, style))
|
Ok(ContentItem::Counters(name, separator, style))
|
||||||
})
|
}),
|
||||||
_ => return Err(())
|
_ => return Err(())
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
@ -1084,7 +1068,7 @@ pub mod longhands {
|
||||||
"open-quote" => content.push(ContentItem::OpenQuote),
|
"open-quote" => content.push(ContentItem::OpenQuote),
|
||||||
"close-quote" => content.push(ContentItem::CloseQuote),
|
"close-quote" => content.push(ContentItem::CloseQuote),
|
||||||
"no-open-quote" => content.push(ContentItem::NoOpenQuote),
|
"no-open-quote" => content.push(ContentItem::NoOpenQuote),
|
||||||
"no-close-quote" => content.push(ContentItem::NoCloseQuote)
|
"no-close-quote" => content.push(ContentItem::NoCloseQuote),
|
||||||
_ => return Err(())
|
_ => return Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1746,7 +1730,7 @@ pub mod longhands {
|
||||||
super::SANS_SERIF => Some(FontFamily::SansSerif),
|
super::SANS_SERIF => Some(FontFamily::SansSerif),
|
||||||
super::CURSIVE => Some(FontFamily::Cursive),
|
super::CURSIVE => Some(FontFamily::Cursive),
|
||||||
super::FANTASY => Some(FontFamily::Fantasy),
|
super::FANTASY => Some(FontFamily::Fantasy),
|
||||||
super::MONOSPACE => Some(FontFamily::Monospace)
|
super::MONOSPACE => Some(FontFamily::Monospace),
|
||||||
_ => None
|
_ => None
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1797,7 +1781,7 @@ pub mod longhands {
|
||||||
SANS_SERIF => return Ok(FontFamily::SansSerif),
|
SANS_SERIF => return Ok(FontFamily::SansSerif),
|
||||||
CURSIVE => return Ok(FontFamily::Cursive),
|
CURSIVE => return Ok(FontFamily::Cursive),
|
||||||
FANTASY => return Ok(FontFamily::Fantasy),
|
FANTASY => return Ok(FontFamily::Fantasy),
|
||||||
MONOSPACE => return Ok(FontFamily::Monospace)
|
MONOSPACE => return Ok(FontFamily::Monospace),
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
let mut value = first_ident.into_owned();
|
let mut value = first_ident.into_owned();
|
||||||
|
@ -1845,7 +1829,7 @@ pub mod longhands {
|
||||||
"bold" => Ok(SpecifiedValue::Weight700),
|
"bold" => Ok(SpecifiedValue::Weight700),
|
||||||
"normal" => Ok(SpecifiedValue::Weight400),
|
"normal" => Ok(SpecifiedValue::Weight400),
|
||||||
"bolder" => Ok(SpecifiedValue::Bolder),
|
"bolder" => Ok(SpecifiedValue::Bolder),
|
||||||
"lighter" => Ok(SpecifiedValue::Lighter)
|
"lighter" => Ok(SpecifiedValue::Lighter),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}).or_else(|()| {
|
}).or_else(|()| {
|
||||||
|
@ -2251,7 +2235,7 @@ pub mod longhands {
|
||||||
"line-through" => if result.line_through { return Err(()) }
|
"line-through" => if result.line_through { return Err(()) }
|
||||||
else { empty = false; result.line_through = true },
|
else { empty = false; result.line_through = true },
|
||||||
"blink" => if blink { return Err(()) }
|
"blink" => if blink { return Err(()) }
|
||||||
else { empty = false; blink = true }
|
else { empty = false; blink = true },
|
||||||
_ => break
|
_ => break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3549,7 +3533,7 @@ pub mod longhands {
|
||||||
"invert" => parse_factor(input).map(SpecifiedFilter::Invert),
|
"invert" => parse_factor(input).map(SpecifiedFilter::Invert),
|
||||||
"opacity" => parse_factor(input).map(SpecifiedFilter::Opacity),
|
"opacity" => parse_factor(input).map(SpecifiedFilter::Opacity),
|
||||||
"saturate" => parse_factor(input).map(SpecifiedFilter::Saturate),
|
"saturate" => parse_factor(input).map(SpecifiedFilter::Saturate),
|
||||||
"sepia" => parse_factor(input).map(SpecifiedFilter::Sepia)
|
"sepia" => parse_factor(input).map(SpecifiedFilter::Sepia),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
})));
|
})));
|
||||||
|
@ -3996,7 +3980,7 @@ pub mod longhands {
|
||||||
result.push(SpecifiedOperation::Perspective(d));
|
result.push(SpecifiedOperation::Perspective(d));
|
||||||
Ok(())
|
Ok(())
|
||||||
}))
|
}))
|
||||||
}
|
},
|
||||||
_ => return Err(())
|
_ => return Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4098,7 +4082,7 @@ pub mod longhands {
|
||||||
} else {
|
} else {
|
||||||
return Err(())
|
return Err(())
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
_ => return Err(())
|
_ => return Err(())
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
@ -4335,7 +4319,7 @@ pub mod longhands {
|
||||||
"optimizespeed" => Ok(computed_value::T::Auto),
|
"optimizespeed" => Ok(computed_value::T::Auto),
|
||||||
"optimizequality" => Ok(computed_value::T::Auto),
|
"optimizequality" => Ok(computed_value::T::Auto),
|
||||||
"crisp-edges" => Ok(computed_value::T::CrispEdges),
|
"crisp-edges" => Ok(computed_value::T::CrispEdges),
|
||||||
"pixelated" => Ok(computed_value::T::Pixelated)
|
"pixelated" => Ok(computed_value::T::Pixelated),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4584,13 +4568,13 @@ pub mod longhands {
|
||||||
start_end = try!(match_ignore_ascii_case! {
|
start_end = try!(match_ignore_ascii_case! {
|
||||||
try!(input.expect_ident()),
|
try!(input.expect_ident()),
|
||||||
"start" => Ok(computed_value::StartEnd::Start),
|
"start" => Ok(computed_value::StartEnd::Start),
|
||||||
"end" => Ok(computed_value::StartEnd::End)
|
"end" => Ok(computed_value::StartEnd::End),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
});
|
});
|
||||||
Ok(())
|
Ok(())
|
||||||
}));
|
}));
|
||||||
Ok(TransitionTimingFunction::Steps(step_count as u32, start_end))
|
Ok(TransitionTimingFunction::Steps(step_count as u32, start_end))
|
||||||
}
|
},
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4602,7 +4586,7 @@ pub mod longhands {
|
||||||
"ease-out" => Ok(EASE_OUT),
|
"ease-out" => Ok(EASE_OUT),
|
||||||
"ease-in-out" => Ok(EASE_IN_OUT),
|
"ease-in-out" => Ok(EASE_IN_OUT),
|
||||||
"step-start" => Ok(STEP_START),
|
"step-start" => Ok(STEP_START),
|
||||||
"step-end" => Ok(STEP_END)
|
"step-end" => Ok(STEP_END),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4849,7 +4833,7 @@ pub mod longhands {
|
||||||
"visibility" => Ok(TransitionProperty::Visibility),
|
"visibility" => Ok(TransitionProperty::Visibility),
|
||||||
"width" => Ok(TransitionProperty::Width),
|
"width" => Ok(TransitionProperty::Width),
|
||||||
"word-spacing" => Ok(TransitionProperty::WordSpacing),
|
"word-spacing" => Ok(TransitionProperty::WordSpacing),
|
||||||
"z-index" => Ok(TransitionProperty::ZIndex)
|
"z-index" => Ok(TransitionProperty::ZIndex),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5847,7 +5831,7 @@ impl CSSWideKeyword {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
"initial" => Ok(CSSWideKeyword::InitialKeyword),
|
"initial" => Ok(CSSWideKeyword::InitialKeyword),
|
||||||
"inherit" => Ok(CSSWideKeyword::InheritKeyword),
|
"inherit" => Ok(CSSWideKeyword::InheritKeyword),
|
||||||
"unset" => Ok(CSSWideKeyword::UnsetKeyword)
|
"unset" => Ok(CSSWideKeyword::UnsetKeyword),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5863,12 +5847,9 @@ pub enum Shorthand {
|
||||||
impl Shorthand {
|
impl Shorthand {
|
||||||
pub fn from_name(name: &str) -> Option<Shorthand> {
|
pub fn from_name(name: &str) -> Option<Shorthand> {
|
||||||
match_ignore_ascii_case! { name,
|
match_ignore_ascii_case! { name,
|
||||||
% for property in SHORTHANDS[:-1]:
|
% for property in SHORTHANDS:
|
||||||
"${property.name}" => Some(Shorthand::${property.camel_case}),
|
"${property.name}" => Some(Shorthand::${property.camel_case}),
|
||||||
% endfor
|
% endfor
|
||||||
% for property in SHORTHANDS[-1:]:
|
|
||||||
"${property.name}" => Some(Shorthand::${property.camel_case})
|
|
||||||
% endfor
|
|
||||||
_ => None
|
_ => None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6128,9 +6109,6 @@ impl PropertyDeclaration {
|
||||||
},
|
},
|
||||||
% endfor
|
% endfor
|
||||||
|
|
||||||
// Hack to work around quirks of macro_rules parsing in match_ignore_ascii_case!
|
|
||||||
"_nonexistent" => PropertyDeclarationParseResult::UnknownProperty
|
|
||||||
|
|
||||||
_ => PropertyDeclarationParseResult::UnknownProperty
|
_ => PropertyDeclarationParseResult::UnknownProperty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7011,10 +6989,9 @@ pub fn modify_style_for_inline_absolute_hypothetical_fragment(style: &mut Arc<Co
|
||||||
|
|
||||||
pub fn is_supported_property(property: &str) -> bool {
|
pub fn is_supported_property(property: &str) -> bool {
|
||||||
match_ignore_ascii_case! { property,
|
match_ignore_ascii_case! { property,
|
||||||
% for property in SHORTHANDS + LONGHANDS[:-1]:
|
% for property in SHORTHANDS + LONGHANDS:
|
||||||
"${property.name}" => true,
|
"${property.name}" => true,
|
||||||
% endfor
|
% endfor
|
||||||
"${LONGHANDS[-1].name}" => true
|
|
||||||
_ => property.starts_with("--")
|
_ => property.starts_with("--")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -392,7 +392,7 @@ impl<'a> AtRuleParser for TopLevelRuleParser<'a> {
|
||||||
} else {
|
} else {
|
||||||
return Err(()) // "@namespace must be before any rule but @charset and @import"
|
return Err(()) // "@namespace must be before any rule but @charset and @import"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -450,7 +450,7 @@ impl<'a, 'b> AtRuleParser for NestedRuleParser<'a, 'b> {
|
||||||
} else {
|
} else {
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ macro_rules! define_numbered_css_keyword_enum {
|
||||||
impl $name {
|
impl $name {
|
||||||
pub fn parse(input: &mut ::cssparser::Parser) -> Result<$name, ()> {
|
pub fn parse(input: &mut ::cssparser::Parser) -> Result<$name, ()> {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
$( $css => Ok($name::$variant) ),+
|
$( $css => Ok($name::$variant), )+
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -332,7 +332,7 @@ pub mod specified {
|
||||||
|
|
||||||
// https://github.com/servo/servo/issues/3423#issuecomment-56321664
|
// https://github.com/servo/servo/issues/3423#issuecomment-56321664
|
||||||
"smaller" => Length::FontRelative(FontRelativeLength::Em(0.85)),
|
"smaller" => Length::FontRelative(FontRelativeLength::Em(0.85)),
|
||||||
"larger" => Length::FontRelative(FontRelativeLength::Em(1.2))
|
"larger" => Length::FontRelative(FontRelativeLength::Em(1.2)),
|
||||||
_ => return None
|
_ => return None
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -373,7 +373,7 @@ pub mod specified {
|
||||||
"vw" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vw(value))),
|
"vw" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vw(value))),
|
||||||
"vh" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vh(value))),
|
"vh" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vh(value))),
|
||||||
"vmin" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vmin(value))),
|
"vmin" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vmin(value))),
|
||||||
"vmax" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vmax(value)))
|
"vmax" => Ok(Length::ViewportPercentage(ViewportPercentageLength::Vmax(value))),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1106,7 +1106,7 @@ pub mod specified {
|
||||||
"left" => Ok(PositionComponent::Left),
|
"left" => Ok(PositionComponent::Left),
|
||||||
"right" => Ok(PositionComponent::Right),
|
"right" => Ok(PositionComponent::Right),
|
||||||
"top" => Ok(PositionComponent::Top),
|
"top" => Ok(PositionComponent::Top),
|
||||||
"bottom" => Ok(PositionComponent::Bottom)
|
"bottom" => Ok(PositionComponent::Bottom),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1166,7 +1166,7 @@ pub mod specified {
|
||||||
"deg" => Ok(Angle(value * RAD_PER_DEG)),
|
"deg" => Ok(Angle(value * RAD_PER_DEG)),
|
||||||
"grad" => Ok(Angle(value * RAD_PER_GRAD)),
|
"grad" => Ok(Angle(value * RAD_PER_GRAD)),
|
||||||
"turn" => Ok(Angle(value * RAD_PER_TURN)),
|
"turn" => Ok(Angle(value * RAD_PER_TURN)),
|
||||||
"rad" => Ok(Angle(value))
|
"rad" => Ok(Angle(value)),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1202,7 +1202,7 @@ pub mod specified {
|
||||||
"linear-gradient" => {
|
"linear-gradient" => {
|
||||||
Ok(Image::LinearGradient(try!(
|
Ok(Image::LinearGradient(try!(
|
||||||
input.parse_nested_block(LinearGradient::parse_function))))
|
input.parse_nested_block(LinearGradient::parse_function))))
|
||||||
}
|
},
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1345,7 +1345,7 @@ pub mod specified {
|
||||||
LengthOrPercentage::Length(Length::from_px(3.)))),
|
LengthOrPercentage::Length(Length::from_px(3.)))),
|
||||||
"thick" =>
|
"thick" =>
|
||||||
Ok(BorderRadiusSize::circle(
|
Ok(BorderRadiusSize::circle(
|
||||||
LengthOrPercentage::Length(Length::from_px(5.))))
|
LengthOrPercentage::Length(Length::from_px(5.)))),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -1356,7 +1356,7 @@ pub mod specified {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
"thin" => Ok(Length::from_px(1.)),
|
"thin" => Ok(Length::from_px(1.)),
|
||||||
"medium" => Ok(Length::from_px(3.)),
|
"medium" => Ok(Length::from_px(3.)),
|
||||||
"thick" => Ok(Length::from_px(5.))
|
"thick" => Ok(Length::from_px(5.)),
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -14,7 +14,7 @@ path = "../util"
|
||||||
path = "../plugins"
|
path = "../plugins"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
euclid = {version = "0.4", features = ["plugins"]}
|
euclid = {version = "0.4", features = ["plugins"]}
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
lazy_static = "0.1.10"
|
lazy_static = "0.1.10"
|
||||||
|
|
|
@ -18,7 +18,7 @@ macro_rules! define_css_keyword_enum {
|
||||||
impl $name {
|
impl $name {
|
||||||
pub fn parse(input: &mut ::cssparser::Parser) -> Result<$name, ()> {
|
pub fn parse(input: &mut ::cssparser::Parser) -> Result<$name, ()> {
|
||||||
match_ignore_ascii_case! { try!(input.expect_ident()),
|
match_ignore_ascii_case! { try!(input.expect_ident()),
|
||||||
$( $css => Ok($name::$variant) ),+
|
$( $css => Ok($name::$variant), )+
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ git = "https://github.com/servo/ipc-channel"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
bitflags = "0.3"
|
bitflags = "0.3"
|
||||||
html5ever = { version = "0.2.1", features = ["unstable"], optional = true }
|
html5ever = { version = "0.2.1", features = ["unstable"], optional = true }
|
||||||
|
@ -57,7 +57,7 @@ smallvec = "0.1"
|
||||||
num_cpus = "0.2.2"
|
num_cpus = "0.2.2"
|
||||||
num = "0.1.24"
|
num = "0.1.24"
|
||||||
euclid = {version = "0.4", features = ["plugins"]}
|
euclid = {version = "0.4", features = ["plugins"]}
|
||||||
selectors = "0.2"
|
selectors = "0.2.3"
|
||||||
serde = "0.6"
|
serde = "0.6"
|
||||||
serde_macros = "0.6"
|
serde_macros = "0.6"
|
||||||
string_cache = "0.2"
|
string_cache = "0.2"
|
||||||
|
|
|
@ -18,7 +18,7 @@ macro_rules! define_cursor {
|
||||||
impl Cursor {
|
impl Cursor {
|
||||||
pub fn from_css_keyword(keyword: &str) -> Result<Cursor, ()> {
|
pub fn from_css_keyword(keyword: &str) -> Result<Cursor, ()> {
|
||||||
match_ignore_ascii_case! { keyword,
|
match_ignore_ascii_case! { keyword,
|
||||||
$( concat!($css) => Ok(Cursor::$variant) ),+
|
$( concat!($css) => Ok(Cursor::$variant), )+
|
||||||
_ => Err(())
|
_ => Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
30
ports/cef/Cargo.lock
generated
30
ports/cef/Cargo.lock
generated
|
@ -153,7 +153,7 @@ name = "canvas_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx_traits 0.0.1",
|
"gfx_traits 0.0.1",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -329,7 +329,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cssparser"
|
name = "cssparser"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -906,7 +906,7 @@ dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
|
@ -922,7 +922,7 @@ dependencies = [
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script 0.0.1",
|
"script 0.0.1",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1089,7 +1089,7 @@ name = "msg"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -1433,7 +1433,7 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1456,7 +1456,7 @@ dependencies = [
|
||||||
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1497,11 +1497,11 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "selectors"
|
name = "selectors"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1725,7 +1725,7 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1735,7 +1735,7 @@ dependencies = [
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1750,14 +1750,14 @@ dependencies = [
|
||||||
name = "style_traits"
|
name = "style_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1887,7 +1887,7 @@ dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1903,7 +1903,7 @@ dependencies = [
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
22
ports/geckolib/Cargo.lock
generated
22
ports/geckolib/Cargo.lock
generated
|
@ -4,12 +4,12 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num_cpus 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num_cpus 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
|
@ -65,7 +65,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cssparser"
|
name = "cssparser"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -312,11 +312,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "selectors"
|
name = "selectors"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -373,7 +373,7 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -383,7 +383,7 @@ dependencies = [
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -398,14 +398,14 @@ dependencies = [
|
||||||
name = "style_traits"
|
name = "style_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -452,7 +452,7 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -464,7 +464,7 @@ dependencies = [
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -11,7 +11,7 @@ crate-type = ["staticlib"]
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
bitflags = "0.3"
|
bitflags = "0.3"
|
||||||
cssparser = { version = "0.4", features = [ "serde-serialization" ] }
|
cssparser = { version = "0.5", features = [ "serde-serialization" ] }
|
||||||
euclid = {version = "0.4", features = ["plugins"]}
|
euclid = {version = "0.4", features = ["plugins"]}
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
log = "0.3"
|
log = "0.3"
|
||||||
|
|
30
ports/gonk/Cargo.lock
generated
30
ports/gonk/Cargo.lock
generated
|
@ -145,7 +145,7 @@ name = "canvas_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx_traits 0.0.1",
|
"gfx_traits 0.0.1",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -310,7 +310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cssparser"
|
name = "cssparser"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -877,7 +877,7 @@ dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"gfx 0.0.1",
|
"gfx 0.0.1",
|
||||||
|
@ -893,7 +893,7 @@ dependencies = [
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script 0.0.1",
|
"script 0.0.1",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_json 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1060,7 +1060,7 @@ name = "msg"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"hyper 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
"ipc-channel 0.1.0 (git+https://github.com/servo/ipc-channel)",
|
||||||
|
@ -1404,7 +1404,7 @@ dependencies = [
|
||||||
"canvas 0.0.1",
|
"canvas 0.0.1",
|
||||||
"canvas_traits 0.0.1",
|
"canvas_traits 0.0.1",
|
||||||
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"caseless 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"devtools_traits 0.0.1",
|
"devtools_traits 0.0.1",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1427,7 +1427,7 @@ dependencies = [
|
||||||
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"ref_slice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"script_traits 0.0.1",
|
"script_traits 0.0.1",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1468,11 +1468,11 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "selectors"
|
name = "selectors"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"matches 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"quickersort 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1694,7 +1694,7 @@ version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"encoding 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"fnv 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1704,7 +1704,7 @@ dependencies = [
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1719,14 +1719,14 @@ dependencies = [
|
||||||
name = "style_traits"
|
name = "style_traits"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1856,7 +1856,7 @@ dependencies = [
|
||||||
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"app_units 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
"azure 0.2.1 (git+https://github.com/servo/rust-azure)",
|
||||||
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"bitflags 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
"getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"html5ever 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1872,7 +1872,7 @@ dependencies = [
|
||||||
"plugins 0.0.1",
|
"plugins 0.0.1",
|
||||||
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"smallvec 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -26,7 +26,7 @@ path = "../../../components/util"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
app_units = {version = "0.1", features = ["plugins"]}
|
app_units = {version = "0.1", features = ["plugins"]}
|
||||||
url = "0.5.2"
|
url = "0.5.2"
|
||||||
cssparser = "0.4"
|
cssparser = "0.5"
|
||||||
selectors = "0.2"
|
selectors = "0.2"
|
||||||
string_cache = "0.2"
|
string_cache = "0.2"
|
||||||
euclid = {version = "0.4", features = ["plugins"]}
|
euclid = {version = "0.4", features = ["plugins"]}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue