Reland "Cache animation base computed style only on default StyleForElement()"
This reverts commit 0bc5ba70. Reason for revert: Not the cause of crbug.com/996037. Original change's description: > Revert "Cache animation base computed style only on default StyleForElement()" > > This reverts commit a1fe850a. > > Reason for revert: speculative revert for crbug.com/996037. > > Original change's description: > > Cache animation base computed style only on default StyleForElement() > > > > StyleForElement() can be used to get the default style (i.e. the > > style that will be applied on the element), or style derived from > > custom parent style for e.g. inherited first line style. We should > > cache animation base computed style in the first case only. > > > > Bug: 989490 > > Change-Id: Ia30b3e7bcd65cdb9456eb925e5c24f156353bff9 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1753030 > > Reviewed-by: Rune Lillesveen <futhark@chromium.org> > > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#686915} > > TBR=wangxianzhu@chromium.org,futhark@chromium.org > > # Not skipping CQ checks because original CL landed > 1 day ago. > > Bug: 989490,996037 > Change-Id: Ib12e4e55e70eaeb2c82ca173c145c225c1d79802 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1763343 > Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> > Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#689165} TBR=wangxianzhu@chromium.org,futhark@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 989490, 996037 Change-Id: I32dc5509075cfae90721dadc49144a309b40b901 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1776380Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#691678}
Showing
Please register or sign in to comment