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

Highlight when searching can be misplaced #13323

Closed
calixteman opened this issue May 2, 2021 · 1 comment · Fixed by #13324
Closed

Highlight when searching can be misplaced #13323

calixteman opened this issue May 2, 2021 · 1 comment · Fixed by #13324

Comments

@calixteman
Copy link
Contributor

Attach (recommended) or Link to PDF file here:
https://github.com/mozilla/pdf.js/files/1426655/Sample.PDF.document.pdf

Configuration:
https://mozilla.github.io/pdf.js/web/viewer.html in Firefox nightly (90).

Steps to reproduce the problem:

  1. Open the pdf
  2. Search for "acting as single judge" (whitespaces must be doubled)

What is the expected behavior? (add screenshot)
Highlights on match should be well positioned.

What went wrong? (add screenshot)
Highlight for "as" is too low.

It's very likely an other regression caused by #13171 (in the css).

@calixteman
Copy link
Contributor Author

Similar issue when I select the word Mitarberterinnen in the pdf in issue #13226 we can see some misplaced spans (which contain a space).

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