mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Change test-case issue4914
to an annotations
test
This PDF file (see issue 4914) originally regressed in PR 4318, and was subsequently fixed in PR 4915. I added the PDF file as a (linked) test-case in PR 6481, in an effort to prevent regressions. Since we at that time didn't have the necessary framework in place, in order to correctly test annotations, this almost regressed *again* in PR https://github.com/mozilla/pdf.js/pull/6672#issuecomment-158689392. In that PDF file, some of the annotations are both printable and hidden, and should definitely *not* be visible on normal display. Hence this patch, which adds the `annotations` flag to the manifest in order to ensure that those annotations won't be rendered when `intent === 'display'`.
This commit is contained in:
parent
9f23e115e0
commit
ae4ec2e347
1 changed files with 1 additions and 0 deletions
|
@ -498,6 +498,7 @@
|
|||
"link": true,
|
||||
"lastPage": 1,
|
||||
"type": "eq",
|
||||
"annotations": true,
|
||||
"about": "PDF with annotations, some of which have the Hidden flag set."
|
||||
},
|
||||
{ "id": "issue4665-text",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue