Use style invalidation for more pseudo classes.

Support descendant invalidation sets for :checked, :disabled, :enabled,
:indeterminate, :target, :link, and :visited. Pseudo state changes for those
classes were recalculated with SubtreeStyleChange in didAffectSelector.

Instead, schedule invalidation sets when these pseudo states change.

This change does not fully fix 388965 as there are still several
SubtreeStyleChange instances left.

The pseudo flags could be removed from the SelectRuleFeatureSet since they
will now be present through invalidation sets in the m_cssRuleFeatureSet.

R=esprehn@chromium.org
BUG=388965

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182507 bbb929c8-8fbe-4397-9dbb-9b2b20218538
32 files changed
tree: 8cf39b8abd49e0e2730ade784c77eba3647cbee0
  1. third_party/