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: [email protected] [mailto:[email protected]] On Behalf Of TAMURA, Kent Sent: Wednesday, February 22, 2012 4:15 PM To: Koji Ishii Cc: [email protected] 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 <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev -- TAMURA Kent Software Engineer, Google
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

