DescriptionInvalidate 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://crrev.com/865c4bd7edd70fad53c2ae48b754ec8fca6f5e60
git-svn-id: svn://svn.chromium.org/blink/trunk@202164 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #
Total comments: 1
Patch Set 2 : Updated patch to skip brs, updated expectations #
Total comments: 1
Patch Set 3 : TextOrColorChanged -> TextDecorationOrColorChanged #Messages
Total messages: 23 (7 generated)
|