Revert "Pass CSSValue TreeScope to StyleBuilder::ApplyProperty"
This reverts commit 4d32f3cb. Reason for revert: crbug.com/1139337 Original change's description: > Pass CSSValue TreeScope to StyleBuilder::ApplyProperty > > Wrap CSSValue and the corresponding TreeScope from MatchResult in a > ScopedCSSValue passing it to StyleBuilder. > > Currently use a nullptr TreeScope in the cases where we don't have one > to look up tree-scoped references. We do not support such names/ > references in UA stylesheets. We currently support @keyframes in user > stylesheets, but collect them from the StyleEngine regardless of which > scope the animation-name came from. It would be possible to have a > TreeScope for user sheets (and even UA sheets) and use > ScopedStyleResolvers instead of extra structures in StyleEngine. For now > pass null TreeScopes for UA and user style values. > > Bug: 336876 > > Change-Id: I4c5af46bde94b9fda41d676982d9e9386b652538 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2455609 > Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> > Reviewed-by: Fernando Serboncini <fserb@chromium.org> > Commit-Queue: Rune Lillesveen <futhark@chromium.org> > Cr-Commit-Position: refs/heads/master@{#816999} TBR=fserb@chromium.org,futhark@chromium.org,andruud@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 336876 Change-Id: I223a24e0e93ed80dbfd9a7f9ba9b2ced10acb93c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2480644Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#818040}
Showing
Please register or sign in to comment