angler-fishThe Vulnerability History Project

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
    
commit 5aafe0dbc8bd3bc2e0579d9190b4eb1db7908032
+56 -12
+32 -3
+3 -88
+5 -34
+38 -4
+1 -2
expand_less