servo/components/style/invalidation
Emilio Cobos Álvarez a0cb37d29d
style: Simplify visited-related code in invalidation.
We match with AllLinksVisitedAndUnvisited for style invalidation, and we already
do a subtree restyle because :visited matching doesn't depend on the actual
element state.

So all this stuff is just not needed. The comment points to the attribute tests
in bug 1328509, but those still trivially pass with this change.

I think this was unneeded since I introduced AllLinksVisitedAndUnvisited, or
maybe since https://github.com/servo/servo/pull/19520. In any case it doesn't
really matter, and I already had done this cleanup in my WIP patches for
bug 1406622, but I guess this is a slightly more suitable place to land them :)

Differential Revision: https://phabricator.services.mozilla.com/D3305
2018-08-18 17:54:54 +02:00
..
element style: Simplify visited-related code in invalidation. 2018-08-18 17:54:54 +02:00
media_queries.rs style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}. 2018-08-08 01:34:35 +02:00
mod.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
stylesheets.rs style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}. 2018-08-08 01:34:35 +02:00