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/+/1753030Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#686915}
Showing
Please register or sign in to comment