Closed Bug 400162 Opened 18 years ago Closed 15 years ago

Underlining Icons when using Link relation (rel-attribute) and CSS-formatting

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: nils73, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-07-30])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7 As far as I can tell, using CSS-property "content" along with pseudo-tag ":before" to generate an icon in front of a link should not make the icon underlined. Other browsers (Safari, Opera, Konqueror) do it right. Placing items "before" should not make them part of <a> but be set as <img> before and handled as such. Here is one example of what I am talking about: .mainContent a[rel="internal"]:before { content: url("/images/ico_link_internal_main.gif"); padding-right: 0.2em; } Reproducible: Always Steps to Reproduce: simply open the demo-website in FireFox Actual Results: Icon is being underlined (if underline is set as CSS-attribute of course) Expected Results: Icon should not be underlined, because it is being placed :before <a>
I think that firefox does the right thing, because I remember that :before becomes the first child of the node.
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.