[webkit-dev] text-decoration propagation question
Koji Ishii
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[1], but they were postponed to Level 4 in the current WD, so there're no good workarounds today.
[1] http://www.w3.org/TR/2011/WD-css3-text-20110901/#text-decoration-line
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:
Hi webkit-dev!
I was looking into text-decoration property propagation issue for <rt> elements[1] 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[2].
Could someone advise me which is appropriate place to exclude <rt> elements from propagations?
Thank you for your support in advance.
[1] https://bugs.webkit.org/show_bug.cgi?id=71266
[2] https://bugs.webkit.org/show_bug.cgi?id=18611
Regards,
Koji
_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org<mailto:webkit-dev at lists.webkit.org>
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
--
TAMURA Kent
Software Engineer, Google
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120222/a852e31e/attachment.html>
More information about the webkit-dev
mailing list