Start moving tree-boundary-crossing rules to ScopedStyleResolver.

This is a step towards getting StyleResolver and the document-wide
TreeBoundaryCrossingRules removed.

Store tree-boundary-crossing rules on ScopedStyleResolver instead of
having a map between scope and tree-boundary-crossing rules in the
TreeBoundaryCrossingRules object.

What's left in TreeBoundaryCrossingRules is now a list of scopes which
contains tree-boundary-crossing rules. When we find an efficient way to
limit the scopes considered when resolving style for a given element, we
can get rid of TreeBoundaryCrossingRules completely, I think.

Adding @font-face and @keyframe rules is also moved into
ScopedStyleResolver and StyleResolver::processScopedRules can be removed.

BUG=401359

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

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