Closed Bug 620927 Opened 14 years ago Closed 14 years ago

<a> tag style color prevail on <h1> <h2> styles if nested

Categories

(Core :: Layout: Text and Fonts, defect)

1.9.2 Branch
x86
Windows 7
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: blisset, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8 Build Identifier: 4.0b8 If you nest <a> tag inside <h1>,<h2>,<h3> etc. tags, font color is taken from <a> and not from header tags. In all others browsers (Chrome, Opera, IE, etc.) font color is taken from header tags, even if you nest an <a> tag. Reproducible: Always Steps to Reproduce: Use this html code <body link="#00ff00"> <h1 style="color:red"><a href="http://someurl">Text</a></h1>
Version: unspecified → 1.9.2 Branch
On the markup you give: http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cbody%20link%3D%22%2300ff00%22%3E%0A%3Ch1%20style%3D%22color%3Ared%22%3E%3Ca%20href%3D%22http%3A%2F%2Fsomeurl%22%3EText%3C%2Fa%3E%3C%2Fh1%3E I see the exact same behavior in Gecko and Chrome. Are you sure that's the markup you meant to give? If not, please provide a correction and reopen the bug report.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
(In reply to comment #1) > On the markup you give: > http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Cbody%20link%3D%22%2300ff00%22%3E%0A%3Ch1%20style%3D%22color%3Ared%22%3E%3Ca%20href%3D%22http%3A%2F%2Fsomeurl%22%3EText%3C%2Fa%3E%3C%2Fh1%3E > I see the exact same behavior in Gecko and Chrome. Are you sure that's the > markup you meant to give? If not, please provide a correction and reopen the > bug report. Excuse me, you are right, it was a firebug bug/problem.
You need to log in before you can comment on or make changes to this bug.