Use Element::LocalNameForSelectorMatching in InvalidationSet

To match ElementRuleCollector et al. We will lower-case tag names on
(selector) parsing in HTML documents, and thus need to give the same
treatment to the local name extracted from the element.

Bug: 856368
Change-Id: I07e726864de048f5948cb27fa7e5dd6eaad9b0ef
Commit-Queue: Fredrik Söderquist <>
Reviewed-by: Rune Lillesveen <>
Cr-Commit-Position: refs/heads/master@{#588427}
2 files changed