Prevent updating the base computed style if the style is not cacheable
A regression was introduced in: https://chromium-review.googlesource.com/c/chromium/src/+/2252642 The base computed style could get updated even when it should not be cached. A style that is computed in a hypothetical scenario (using non-default parent or matching rules) should not be cached. With this patch, the style resolver maintains a flag to block the update if the style should not be cached. Bug: 1100873,1109045 Change-Id: Iaca30b6b0043a8ca750624dbc2d557ef232f92ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310969 Commit-Queue: Kevin Ellis <kevers@chromium.org> Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#792017}
Showing
Please register or sign in to comment