Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Issue 189603010: Incorrect style recalc for text-decoration-[style, color] for immediate child text nodes. (Closed)

Created:
6 years, 9 months ago by andersr
Modified:
6 years, 8 months ago
Reviewers:
esprehn, abinader
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Incorrect style recalc for text-decoration-[style, color] for immediate child text nodes. There is a bug where the text decoration color/style is not updated when hovered (or the style is otherwise changed). This is because text-decoration-color/style are non- inheritable properties, so we don't bother recalculating the child styles if only text-decoration-color or -style changes. Hence, the immediate text children of an element will use the old RenderStyle of the parent. Fixed by recalculating child styles if the text decorations differ between styles. BUG=350840 TEST=text-decoration-[color, line, style].html

Patch Set 1 #

Messages

Total messages: 7 (0 generated)
andersr
An alternative fix (not this patch) which also looks like it should work: Modify RenderObject::getTextDecorationColors ...
6 years, 9 months ago (2014-03-10 10:10:28 UTC) #1
Stephen Chennney
+esprehn
6 years, 9 months ago (2014-03-10 14:19:30 UTC) #2
esprehn
I think you actually want to fix these properties to be inherited using the same ...
6 years, 9 months ago (2014-03-12 09:51:17 UTC) #3
andersr
On 2014/03/12 09:51:17, esprehn wrote: > I think you actually want to fix these properties ...
6 years, 9 months ago (2014-03-12 10:45:39 UTC) #4
esprehn
On 2014/03/12 10:45:39, rude wrote: > ... > > Is that acceptable? Is there a ...
6 years, 9 months ago (2014-03-14 21:42:11 UTC) #5
andersr
Closing this. New and quite different fix: https://codereview.chromium.org/203273003/
6 years, 8 months ago (2014-03-31 17:07:14 UTC) #6
andersr
6 years, 8 months ago (2014-04-03 10:59:33 UTC) #7
> New and quite different fix: https://codereview.chromium.org/203273003/

That was the wrong URL. The correct one is:
https://codereview.chromium.org/219633002/

Powered by Google App Engine
This is Rietveld 408576698