1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00

[api-minor] Make the popup independent of their associated annotations

- it'll help to be able to move popups on screen to let the user read the text
- popups won't inherit some properties from their parent:
  - the popup can be misrendered if for example the parent has a clip-path property.
- add an outline to the popup when the parent is focused.
- hide a popup when it's clicked.
This commit is contained in:
Calixte Denizet 2023-06-15 11:59:59 +02:00
parent d01efc6767
commit d1e172458f
9 changed files with 469 additions and 279 deletions

View file

@ -21,7 +21,7 @@ const {
} = require("./test_utils.js");
describe("Annotation highlight", () => {
describe("annotation-highlight.pdf", () => {
fdescribe("annotation-highlight.pdf", () => {
let pages;
beforeAll(async () => {