DescriptionFix repaint on :hover for empty elements with a border.
If the color changes on :hover, then the border of the element may need to
be repainted. Currently, we only repaint if an immediate child has a
border, but not if the element itself has a border. This causes a missing
repaint in some cases for bordered elements with whitespace-only contents.
Fixed by repainting when the element itself has a border.
BUG=275044
TEST=automated
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166654
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fix rune's issues with the test. #Patch Set 3 : Fix pdr's issues. #
Messages
Total messages: 13 (0 generated)
|