Opened 9 years ago

Closed 9 years ago

#876 closed defect (bug) (worksforme)

Icons in front of external links are missing

Reported by: morganestes's profile morganestes Owned by:
Milestone: Priority: normal
Component: Trac Keywords: needs-patch


It appears that there should be an icon in front of links inside comments on tickets indicating that they're external links, but there's just an empty space where the image is supposed to be.

One example of the markup is:

<a class="ext-link" href="">
<span class="icon">&#8203;</span>Slack</a> in #core by morganestes. 
<a class="ext-link" href=""><span class="icon">&#8203;</span>View the logs</a>

The styles that are applied to this include a background image for .ext-link .icon set in trac.css but overridden and set to display:none in wp-trac.css, and inserted content of "\f316" on a.ext-link:before. I can't find any record of that icon on, but the dashicons stylesheet loaded indicates it's a download icon, which doesn't seem appropriate in this case.

.dashicons-download:before {
    content: "\f316"

Removing the display:none rule from .ext-link .icon in wp-trac.css shows the background image icon but doesn't fix the left padding issue caused by the missing icon styles.

Attachments (3)

missing-link-icons.png (187.7 KB) - added by morganestes 9 years ago.
Screenshot showing missing icons in links
missing-link-icon-markup.png (93.7 KB) - added by morganestes 9 years ago.
Sample markup of a link with missing icon
876.png (271.2 KB) - added by ocean90 9 years ago.

Download all attachments as: .zip

Change History (6)

9 years ago

Screenshot showing missing icons in links

9 years ago

Sample markup of a link with missing icon

9 years ago

#1 @ocean90
9 years ago

Which browser are you using? 876.png is what I can see.

#2 @morganestes
9 years ago

I'm using Opera 27 on Mac. I've tried with incognito mode and no extensions and it's the same, but it's not happening in Opera Beta (28.0) or any other browser I have. Weird.

#3 @morganestes
9 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

I just took another look with Opera 28, and everything's looking fine now.

Note: See TracTickets for help on using tickets.