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
Highlight showing over text in IE, but works in Chrome/Firefox #5264
Comments
Could you provide link to the PDF document? |
This is the link. Thanks for the help, |
Duplicate of #3900 |
IE does not implement blending modes. We need to report that to https://connect.microsoft.com |
We tried the suggestion in #3900 but it still doesn't work. Should we include something in the compatibility.js as well? |
Not sure, as a prototype code snippet shall work in IE. |
Here is voting for implementing this feature in IE: https://status.modern.ie/compositingandblendingincanvas2d?term=globalCompositeOperation |
@msladev, your solution worked perfectly for us until we stumbled upon some PDFs which rendered other image and shape elements with a 50% transparency due to this change. Example PDF: https://dl.dropboxusercontent.com/u/1652601/ht-1-handbook.pdf We then moved the workaround to |
Thanks @tbasse, works great. |
We had the same issue in our integration of pdf.js. We implemented the workaround of tbasse for internet explorer. Thanks @tbasse |
@yurydelendik, would you be open to a contribution that implements this workaround? I highly doubt that Microsoft will be addressing this on their end. |
This workaround is not acceptable for in the core because we don't want browser-specific hacks in there, but it may be accepted if it can be feature-detected and placed in https://github.com/mozilla/pdf.js/blob/master/src/shared/compatibility.js. |
Makes sense, thanks @timvandermeij! |
Closing IE11/Edge (non-Chromium-based) issues in response to #11211. Please note that, as outlined in https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support, only bugs which completely prevent the library and/or the default viewer from running will be accepted. |
There is a text that was highlighted but in IE the highlight is showing over the text and hiding the original text. However, in Chrome and Firefox the highlight works as expected. Screenshots are shown below.
In IE:
In Chrome:
Thanks,
MSLA-IT
The text was updated successfully, but these errors were encountered: