Auto merge of #26775 - servo:gecko-sync, r=emilio

style: sync changes from mozilla-central.
This commit is contained in:
bors-servo 2020-06-03 23:02:22 -04:00 committed by GitHub
commit 4d95efeebf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 2353 additions and 1325 deletions

View file

@ -6,7 +6,7 @@ use selectors::parser::{SelectorParseError, SelectorParseErrorKind};
use style::invalidation::element::invalidation_map::Dependency;
use style::properties;
size_of_test!(test_size_of_dependency, Dependency, 16);
size_of_test!(test_size_of_dependency, Dependency, 24);
size_of_test!(
test_size_of_property_declaration,

View file

@ -201,13 +201,13 @@ fn test_insert() {
0,
selector_map
.class_hash
.get(&Atom::from("foo"), QuirksMode::NoQuirks)
.get(&Atom::from("intro"), QuirksMode::NoQuirks)
.unwrap()[0]
.source_order
);
assert!(selector_map
.class_hash
.get(&Atom::from("intro"), QuirksMode::NoQuirks)
.get(&Atom::from("foo"), QuirksMode::NoQuirks)
.is_none());
}