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

Extend "legacy" compatibilty to include older browsers #3

Closed
wants to merge 20 commits into from

Conversation

tnajdek
Copy link
Member

@tnajdek tnajdek commented May 23, 2024

This PR makes pdf.js compatible with older Safari (targeted & tested 12, possibly, maybe also works on 11) and possibly other older browsers. This is part of a fix for zotero/web-library#544.

  • Tweak browser list for babel/prefixer targets
  • Update core-js
  • Ensure all files source files are babel-processed
  • Enable postcss for :is pseudo-class
  • Add polyfill for ResizeObserver
  • Tweak uses of mediaQueryList to ensure compatiblity with older browsers
  • Replace all uses of replaceChildren with equivalent loop-based logic

mrtcode and others added 20 commits June 8, 2023 18:25
The issue can be reproduced when PDF.js is uploaded to a server and served from cache
…rary#544

* Tweak browser list for babel/prefixer targets
* Update core-js
* Ensure all files source files are babel-processed
* Enable postcss for :is pseudo-class
* Add polyfill for ResizeObserver
* Tweak uses of mediaQueryList to ensure compatiblity with older browsers
* Replace all uses of `replaceChildren` with equivalent loop-based logic
@tnajdek
Copy link
Member Author

tnajdek commented Jun 26, 2024

No longer relevant, we do this instead: zotero/web-library#548

@tnajdek tnajdek closed this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants