[Webkit-unassigned] [Bug 64156] text-decoration:none inside an anchor tag has no effect
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 18 14:37:46 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64156
--- Comment #5 from fredliu at codeaurora.org 2011-07-18 14:37:46 PST ---
Thanks for the update.
Ya, current spec isn't clear enough, and text-decoration:skip in CSS3 seems to be more clear on this issue.
Also just FYI that Opera and IE is interpreting it in the same way as Webkit, while FF is interpreting differently.
(In reply to comment #3)
> Sincere apologies for that! you're right. Somehow I must have picked up an older version of the testcase.
> I'm uploading the correct one right now with updated text so it's a bit more clear.
>
> I would have expected that any child elements could override the parent styles, but after doing some further digging, the answer is not quite so clear when it comes to text-decoration.
>
> The spec (http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration) seems pretty clear on how the inheritance should work - and Webkit does indeed follow it. But it's not so clear if text-decoration can be overridden by a child element.
>
> Firefox seems to allow this override - but they may have a different interpretation of the spec for this scenario.
>
> Came across this new 'text-decoration-skip' property in the draft of CSS3 which seems to address this issue, although I could be wrong: http://www.w3.org/TR/2010/WD-css3-text-20101005/#text-decoration-skip0
>
> You're welcome to close this bug as Invalid until there's a more defined answer. Thanks.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list