Collect TreeScopes for scoped references in MatchResult.
In order to store tree-scoped names/references in ComputedStyle we need to keep track of which TreeScope the MatchedProperties came from during selector matching. We do this by pushing TreeScope pointers for each scoped to MatchResult which maps to the tree_order number stored in each MatchedProperties entry. This mapping will be used during cascading and stored with the name to create a tree-scoped reference on ComputedStyle. Bug: 336876 Change-Id: I416d9b12276917cb17c368909d3d5fd1b9f4f5e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2453392Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#815316}
Showing
Please register or sign in to comment