We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does Firefox display a box around hotlinks in my pdf document?

more options

Firefox is displayng a thin black line around each of the hotlinks in a pdf that I'm viewing online using the built-in Adobe viewer (see sample screenshot attached). It occures for al hotlinks in this document (bookmarks, URL links, email addresses, etc.). It only happens in this document, no others. I can display this document correctly n Chrome, or download it and open it in Adobe Reader XI on my Mac. The document was created using Magix Xara Page & Layout Design.

Firefox is displayng a thin black line around each of the hotlinks in a pdf that I'm viewing online using the built-in Adobe viewer (see sample screenshot attached). It occures for al hotlinks in this document (bookmarks, URL links, email addresses, etc.). It only happens in this document, no others. I can display this document correctly n Chrome, or download it and open it in Adobe Reader XI on my Mac. The document was created using Magix Xara Page & Layout Design.
Attached screenshots

All Replies (3)

more options

Hi Melcher, Firefox's built-in PDF viewer is not as advanced as Adobe Reader or other PDF viewers, and it sometimes shows things that -- if it were fully compliant -- it should not show, like hidden layers.

Over time, these bugs are swatted one by one, but progress can be slow for uncommon issues.

Do you want to share a link to that PDF, if it's on a public site, for someone to take a closer look?

more options
more options

Hi Melcher, I think it's a combination of things: differences between the two converters, and between Firefox and Acrobat.

The more recent newsletter has clickable hotspots (in Firefox's viewer, these are called link annotations), and the older newsletter does not. This probably is a difference between Xara (preserves links) and Distiller (does not preserve links).

Firefox's viewer has a built-in style rule to show a solid 1px black border around link annotations, and a yellow background when they are hovered with the mouse. I don't think there is a way to avoid or influence that in the current design.

It would be more aesthetically appealing for the viewer to show a light dotted outline, or no outline until hovered, but I don't know whether that would be considered for urgent implementation (i.e., within 3-6 months). You can file a new issue here to start the conversation:

https://github.com/mozilla/pdf.js/issues

(As an aside, the new file name should have Jan 2019.)