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

style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23325)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-05-08 07:46:34 -04:00 committed by GitHub
commit ea71b35220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 979 additions and 886 deletions

View file

@ -3075,6 +3075,10 @@ impl<'a> SelectorsElement for DomRoot<Element> {
.map_or(false, |atom| case_sensitivity.eq_atom(id, atom))
}
fn is_part(&self, _name: &Atom) -> bool {
false
}
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
Element::has_class(&**self, name, case_sensitivity)
}