[webkit-dev] text-decoration propagation question
kojiishi at gluesoft.co.jp
Tue Feb 21 23:21:20 PST 2012
text-decoration is not inherited but is propagated, so setting it to none does not remove parents' decorations.
There were values to remove in previous CSS3 Text WD, but they were postponed to Level 4 in the current WD, so there're no good workarounds today.
From: tkent at google.com [mailto:tkent at google.com] On Behalf Of TAMURA, Kent
Sent: Wednesday, February 22, 2012 4:15 PM
To: Koji Ishii
Cc: webkit-dev at lists.webkit.org
Subject: Re: [webkit-dev] text-decoration propagation question
Is it enough to add text-decoration:none to the rt rule in the UA stylesheet?
On Wed, Feb 22, 2012 at 14:50, Koji Ishii <kojiishi at gluesoft.co.jp<mailto:kojiishi at gluesoft.co.jp>> wrote:
I was looking into text-decoration property propagation issue for <rt> elements and made a patch to change CSSStyleSelector::adjustRenderStyle since it looked to me that it's where the propagation is calculated for inline-block, inline-table, etc, but I then noticed today that float and absolute positioned elements are handled in RenderObject::getTextDecorationColors.
Could someone advise me which is appropriate place to exclude <rt> elements from propagations?
Thank you for your support in advance.
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
Software Engineer, Google
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev