Minimal feature collector for select selectors.

Use a feature collector method that collects necessary features for select
attribute selectors. These selectors can only have element, id, class,
attribute and :not() according to the spec, and no combinators. Blink also
supports pseudo classes for UA shadow DOM.

A motivation here is to be able to collapse
RuleFeatureSet::collectFeaturesFromSelector into the same loop as
updateInvalidationSets now that invalidation sets are always in use.

R=chrishtr@chromium.org,esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@182755 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed