mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Auto merge of #8249 - servo:htmlinputelement-type-atom, r=nox
'type' attribute on HTMLInputElement should be stored as an Atom Fixes #8180 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8249) <!-- Reviewable:end -->
This commit is contained in:
commit
7ace7bc090
5 changed files with 54 additions and 47 deletions
|
@ -345,7 +345,7 @@ impl HTMLElement {
|
||||||
NodeTypeId::Element(ElementTypeId::HTMLElement(type_id)) =>
|
NodeTypeId::Element(ElementTypeId::HTMLElement(type_id)) =>
|
||||||
match type_id {
|
match type_id {
|
||||||
HTMLElementTypeId::HTMLInputElement =>
|
HTMLElementTypeId::HTMLInputElement =>
|
||||||
self.downcast::<HTMLInputElement>().unwrap().Type() != "hidden",
|
self.downcast::<HTMLInputElement>().unwrap().type_() != atom!("hidden"),
|
||||||
HTMLElementTypeId::HTMLButtonElement |
|
HTMLElementTypeId::HTMLButtonElement |
|
||||||
HTMLElementTypeId::HTMLMeterElement |
|
HTMLElementTypeId::HTMLMeterElement |
|
||||||
HTMLElementTypeId::HTMLOutputElement |
|
HTMLElementTypeId::HTMLOutputElement |
|
||||||
|
|
|
@ -127,6 +127,12 @@ impl HTMLInputElement {
|
||||||
let element = HTMLInputElement::new_inherited(localName, prefix, document);
|
let element = HTMLInputElement::new_inherited(localName, prefix, document);
|
||||||
Node::reflect_node(box element, document, HTMLInputElementBinding::Wrap)
|
Node::reflect_node(box element, document, HTMLInputElementBinding::Wrap)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn type_(&self) -> Atom {
|
||||||
|
self.upcast::<Element>()
|
||||||
|
.get_attribute(&ns!(""), &atom!("type"))
|
||||||
|
.map_or_else(|| atom!(""), |a| a.value().as_atom().to_owned())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub trait LayoutHTMLInputElementHelpers {
|
pub trait LayoutHTMLInputElementHelpers {
|
||||||
|
@ -268,7 +274,7 @@ impl HTMLInputElementMethods for HTMLInputElement {
|
||||||
("submit") | ("image") | ("reset") | ("button"));
|
("submit") | ("image") | ("reset") | ("button"));
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-input-type
|
// https://html.spec.whatwg.org/multipage/#dom-input-type
|
||||||
make_setter!(SetType, "type");
|
make_atomic_setter!(SetType, "type");
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-input-value
|
// https://html.spec.whatwg.org/multipage/#dom-input-value
|
||||||
fn Value(&self) -> DOMString {
|
fn Value(&self) -> DOMString {
|
||||||
|
@ -337,7 +343,7 @@ impl HTMLInputElementMethods for HTMLInputElement {
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-lfe-labels
|
// https://html.spec.whatwg.org/multipage/#dom-lfe-labels
|
||||||
fn Labels(&self) -> Root<NodeList> {
|
fn Labels(&self) -> Root<NodeList> {
|
||||||
if self.Type() == "hidden" {
|
if &*self.type_() == "hidden" {
|
||||||
let window = window_from_node(self);
|
let window = window_from_node(self);
|
||||||
NodeList::empty(&window)
|
NodeList::empty(&window)
|
||||||
} else {
|
} else {
|
||||||
|
@ -403,7 +409,7 @@ impl HTMLInputElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_form_datum(&self, submitter: Option<FormSubmitter>) -> Option<FormDatum> {
|
pub fn get_form_datum(&self, submitter: Option<FormSubmitter>) -> Option<FormDatum> {
|
||||||
let ty = self.Type();
|
let ty = self.type_();
|
||||||
let name = self.Name();
|
let name = self.Name();
|
||||||
let is_submitter = match submitter {
|
let is_submitter = match submitter {
|
||||||
Some(FormSubmitter::InputElement(s)) => {
|
Some(FormSubmitter::InputElement(s)) => {
|
||||||
|
@ -434,7 +440,7 @@ impl HTMLInputElement {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Some(FormDatum {
|
Some(FormDatum {
|
||||||
ty: ty,
|
ty: DOMString(ty.to_string()),
|
||||||
name: name,
|
name: name,
|
||||||
value: value
|
value: value
|
||||||
})
|
})
|
||||||
|
@ -585,6 +591,7 @@ impl VirtualMethods for HTMLInputElement {
|
||||||
match name {
|
match name {
|
||||||
&atom!(name) => AttrValue::from_atomic(value),
|
&atom!(name) => AttrValue::from_atomic(value),
|
||||||
&atom!("size") => AttrValue::from_limited_u32(value, DEFAULT_INPUT_SIZE),
|
&atom!("size") => AttrValue::from_limited_u32(value, DEFAULT_INPUT_SIZE),
|
||||||
|
&atom!(type) => AttrValue::from_atomic(value),
|
||||||
_ => self.super_type().unwrap().parse_plain_attribute(name, value),
|
_ => self.super_type().unwrap().parse_plain_attribute(name, value),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -856,11 +863,11 @@ impl Activatable for HTMLInputElement {
|
||||||
let inputs = node.query_selector_iter(DOMString("input".to_owned())).unwrap()
|
let inputs = node.query_selector_iter(DOMString("input".to_owned())).unwrap()
|
||||||
.filter_map(Root::downcast::<HTMLInputElement>)
|
.filter_map(Root::downcast::<HTMLInputElement>)
|
||||||
.filter(|input| {
|
.filter(|input| {
|
||||||
input.form_owner() == owner && match &*input.Type() {
|
input.form_owner() == owner && match input.type_() {
|
||||||
"text" | "search" | "url" | "tel" |
|
atom!("text") | atom!("search") | atom!("url") | atom!("tel") |
|
||||||
"email" | "password" | "datetime" |
|
atom!("email") | atom!("password") | atom!("datetime") |
|
||||||
"date" | "month" | "week" | "time" |
|
atom!("date") | atom!("month") | atom!("week") | atom!("time") |
|
||||||
"datetime-local" | "number"
|
atom!("datetime-local") | atom!("number")
|
||||||
=> true,
|
=> true,
|
||||||
_ => false
|
_ => false
|
||||||
}
|
}
|
||||||
|
|
26
components/servo/Cargo.lock
generated
26
components/servo/Cargo.lock
generated
|
@ -655,7 +655,7 @@ dependencies = [
|
||||||
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
||||||
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -853,7 +853,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1016,7 +1016,7 @@ dependencies = [
|
||||||
"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.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1526,7 +1526,7 @@ dependencies = [
|
||||||
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1579,7 +1579,7 @@ dependencies = [
|
||||||
"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)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1683,13 +1683,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache"
|
name = "string_cache"
|
||||||
version = "0.1.15"
|
version = "0.1.16"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1699,12 +1699,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache_shared"
|
name = "string_cache_shared"
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1732,7 +1732,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style_traits 0.0.1",
|
"style_traits 0.0.1",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1747,7 +1747,7 @@ dependencies = [
|
||||||
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"cssparser 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"euclid 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (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",
|
||||||
|
@ -1915,7 +1915,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -2068,7 +2068,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
24
ports/cef/Cargo.lock
generated
24
ports/cef/Cargo.lock
generated
|
@ -615,7 +615,7 @@ dependencies = [
|
||||||
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
||||||
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -806,7 +806,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -969,7 +969,7 @@ dependencies = [
|
||||||
"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.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1460,7 +1460,7 @@ dependencies = [
|
||||||
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1504,7 +1504,7 @@ dependencies = [
|
||||||
"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)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1642,13 +1642,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache"
|
name = "string_cache"
|
||||||
version = "0.1.15"
|
version = "0.1.16"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1658,12 +1658,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache_shared"
|
name = "string_cache_shared"
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1691,7 +1691,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style_traits 0.0.1",
|
"style_traits 0.0.1",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1858,7 +1858,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -2001,7 +2001,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
24
ports/gonk/Cargo.lock
generated
24
ports/gonk/Cargo.lock
generated
|
@ -617,7 +617,7 @@ dependencies = [
|
||||||
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
"simd 0.1.0 (git+https://github.com/huonw/simd)",
|
||||||
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
"skia 0.0.20130412 (git+https://github.com/servo/skia)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-script 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -786,7 +786,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -949,7 +949,7 @@ dependencies = [
|
||||||
"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.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-bidi 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1440,7 +1440,7 @@ dependencies = [
|
||||||
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"selectors 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style 0.0.1",
|
"style 0.0.1",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1484,7 +1484,7 @@ dependencies = [
|
||||||
"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)",
|
||||||
"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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1620,13 +1620,13 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache"
|
name = "string_cache"
|
||||||
version = "0.1.15"
|
version = "0.1.16"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -1636,12 +1636,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"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)",
|
||||||
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_shared 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_shared 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "string_cache_shared"
|
name = "string_cache_shared"
|
||||||
version = "0.1.9"
|
version = "0.1.10"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"debug_unreachable 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1669,7 +1669,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"style_traits 0.0.1",
|
"style_traits 0.0.1",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -1836,7 +1836,7 @@ dependencies = [
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_macros 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde_macros 0.6.1 (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.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.2.37 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1949,7 +1949,7 @@ dependencies = [
|
||||||
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"phf_codegen 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rc 0.1.1 (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)",
|
||||||
"string_cache 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
"string_cache_plugin 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tendril 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.32 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue