-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Add a polyfill for classList.{add, remove}
with more than one parameter
#10527
Add a polyfill for classList.{add, remove}
with more than one parameter
#10527
Conversation
…eter Unsurprisingly IE11 doesn't support this, so a polyfill is needed since otherwise the sidebar can no longer be opened. Also, simplifies the existing `classList.toggle` polyfill.
Thnx |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/c8cf1978d6b7883/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/c8cf1978d6b7883/output.txt Total script time: 1.68 mins Published |
IE11 keeps on being a problem. Hopefully we can drop support for it in a new major version. For now, thanks for patching this! |
Lately I've been wondering if it would be possible to change to wording in the FAQ, to more clearly outline the "actual" current state of IE support. There's essentially a few different tiers of problems with IE, as far as I see it:
Looking back through the history of PDF.js, the last couple of years have essentially only seen IE specific changes being made in Hence we're currently in a situation where most (or all?) reported IE-specific issues are either impossible to fix, or could only be fixed partially, and/or a solution would be rejected for adding unwanted complexity. To summarize: In preparation for a future PDF.js version that explicitly removes IE-support, I'm proposing that the FAQ is updated to more clearly agree with the reality of the support status (which should also save time for contributors). For example, update https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support with, something along these lines:
Obviously this could be seen as changing the support status "out of the blue", but looking at the commit history it would merely put into writing what's been happening for the past few years. Somewhat related here is IE Edge, which is now in the process of becoming a Chromium browser. Given these changes it's questionable how many of the issues in https://github.com/mozilla/pdf.js/labels/4-ie-edge-specific will still be relevant, and I cannot see why PDF.js contributors should spend time supporting a browser version when the vendor has essentially given up on it; hence I'd suggest treating IE Edge the same as above. |
I have updated the FAQ section to describe the support status. I agree with the above and it's essentially what we've been doing for a long time now. |
Unsurprisingly IE11 doesn't support this, so a polyfill is needed since otherwise the sidebar can no longer be opened.
Also, simplifies the existing
classList.toggle
polyfill.