Support style invalidation for ::cue selectors.

Don't resort to subtree recalc in the presence of ::cue, ::cue(), :past
and :future selectors. Traverse the selector list in ::cue() to find
invalidation set features.

The test for the ::cue element yields a recalc for more than two elements
because ::cue is currently a PseudoWebKitCustomElement, and other such
elements are present as part of the shadow DOM for video elements.

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

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

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