Add selectors with an id in them to the list of revalidation selectors.

This commit is contained in:
Boris Zbarsky 2017-06-01 19:29:11 -04:00
parent 98f95a32da
commit d031b5badb
4 changed files with 82 additions and 1 deletions

View file

@ -1282,6 +1282,10 @@ impl SelectorVisitor for RevalidationVisitor {
Component::AttributeInNoNamespace { .. } |
Component::AttributeOther(_) |
Component::Empty |
// FIXME(bz) We really only want to do this for some cases of id
// selectors. See
// https://bugzilla.mozilla.org/show_bug.cgi?id=1369611
Component::ID(_) |
Component::FirstChild |
Component::LastChild |
Component::OnlyChild |