[Webkit-unassigned] [Bug 17677] text in the anchor tag is applying incorrect styling from font tag

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 5 06:29:35 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17677


webkit at blaut.biz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |webkit at blaut.biz
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID




------- Comment #2 from webkit at blaut.biz  2008-03-05 06:29 PDT -------
The CSS 2.1 specification says: "The 'text-decoration' property on descendant
elements cannot have any effect on the decoration of the ancestor."
[http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration] So if the
ancestor <a> have default underline set its descendant text-decoration property
have no effect on underline effect. Check below test case:

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20HTML%3E%3Cspan%20style%3D%22text-decoration%3Aunderline%22%3Etest%20test%20%3Cspan%20style%3D%22text-decoration%3Anone%3B%20color%3A%20red%3B%22%3E%20this%20should%20be%20underlined%20despite%20text-decoration%3A%20none%3B%20%3C%2Fspan%3E%20test%0A

Bug report is INVALID.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list