servo/components/style/invalidation/element
Emilio Cobos Álvarez 4434509088
style: Add an AllLinksVisitedAndUnvisited for invalidation.
Otherwise, tests like the following fail, given we always match as unvisited,
and we'd never mark the link as needing invalidation.

<!doctype html>
<style>
a {
  color: red !important;
}

.foo :visited {
  color: green !important;
}
</style>
<div>
  <a href="https://google.es">visit me</a>
  <button onclick="this.parentNode.className = 'foo'">Then click me</button>
</div>

Bug: 1368240
MozReview-Commit-ID: LDv6S28c4ju
2017-06-13 13:27:06 +02:00
..
element_wrapper.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
invalidation_map.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
invalidator.rs style: Add an AllLinksVisitedAndUnvisited for invalidation. 2017-06-13 13:27:06 +02:00
mod.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
restyle_hints.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00