Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a base64 transparent gif image to links for IE #4868

Merged

Conversation

Eyesonly88
Copy link

Fixes #3579

@@ -1392,6 +1392,11 @@ canvas {
height: 100%;
}

.annotLink > a /* -ms- */ {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you need to add something to the prefix comment for the preprocessor to catch it, changing it to e.g. /* -ms-a */ should work. Could you please fix this and squash the commits?
I'm sorry about giving you the wrong information earlier, I didn't look closely enough at the regexp!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Snuffleupagus I had a look at the css rule by inspecting the element and it was only applied to IE when i was testing it. So it must have been picked up. Otherwise, it would have shown up for Firefox as well ... ?!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked out your branch and ran node make firefox locally. When checking the built viewer.css, the CSS rule was still included, but with my proposed change it's not.

Whether or not the rule is actually applied is beside the point! :-)
What we want to avoid is including unnecessary code in the mozcentral/firefox-built versions of PDF.js.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Snuffleupagus Ah right, i didn't know how to use the preprocessor. So i just checked what was actually applied in the browser. I totally understand now and agree with you. I will do the change once I get back to work next week. Thanks!

@Eyesonly88
Copy link
Author

@Snuffleupagus Any other changes you want me to do for this commit or is it all good?

@Snuffleupagus
Copy link
Collaborator

/botio-windows preview

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2014

From: Bot.io (Windows)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://107.22.172.223:8877/3507ac81e0182fe/output.txt

Snuffleupagus added a commit that referenced this pull request Jun 5, 2014
Added a base64 transparent gif image to links for IE
@Snuffleupagus Snuffleupagus merged commit 75e1158 into mozilla:master Jun 5, 2014
@Snuffleupagus
Copy link
Collaborator

Looks good, thanks for the patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links not working in IE10 with border width 0px
3 participants