Check visited color for visual diff.

The color which is actually used for painting needs to be checked when
figuring out if we need to do a paint invalidation. We are checking both
the color for :link and :visited so that the visited state is not exposed
through repaint timing.

This is a problem for other colors as well. If this approach is OK'ed,
I'll go ahead and fix the other ones.

BUG=439812

Review URL: https://codereview.chromium.org/900443006

git-svn-id: svn://svn.chromium.org/blink/trunk@189918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 010b2091ac050de91e819130d1e4906b3fa37b89
  1. third_party/