DescriptionRevert of Invalidate whitespace text on text color changes (patchset #3 id:40001 of https://codereview.chromium.org/1332233002/ )
Reason for revert:
Caused a perf regression on https://chromeperf.appspot.com/report?sid=853c237ff4d1aba523371425b1de88bf28b30ae72464c956409b9a5874a5afd2
Original issue's description:
> Invalidate whitespace text on text color changes
>
> This patch updates the optimization added in [1] to invalidate
> whitespace text on color changes because whitespace text can have
> decorations such as underlines which still need to repaint.
>
> The big idea of the optimization in [1] is to not unnecessarily repaint
> expensive items such as images that are in an <a> element. On hover, <a>
> will change color and underline styles which should not affect images.
> This patch adds a test to prove this optimization still works and
> prevents it from breaking in the future.
>
> [1] https://src.chromium.org/viewvc/blink?view=rev&revision=152046
>
> BUG=529944
>
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202164
TBR=chrishtr@chromium.org
BUG=529944
Committed: https://crrev.com/7517302b3b6236a9c25f26d345d2a990b01dc636
git-svn-id: svn://svn.chromium.org/blink/trunk@202374 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : Rebase #Messages
Total messages: 13 (5 generated)
|