mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 07:38:07 +02:00
Button widget annotations: implement support for pushbuttons
This commit is contained in:
parent
6f52fafdc0
commit
0fe80df2a7
6 changed files with 100 additions and 39 deletions
|
@ -19,7 +19,8 @@
|
|||
position: absolute;
|
||||
}
|
||||
|
||||
.annotationLayer .linkAnnotation > a {
|
||||
.annotationLayer .linkAnnotation > a,
|
||||
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
|
||||
opacity: 0.2;
|
||||
background: #ff0;
|
||||
box-shadow: 0px 2px 10px #ff0;
|
||||
|
|
1
test/pdfs/issue4872.pdf.link
Normal file
1
test/pdfs/issue4872.pdf.link
Normal file
|
@ -0,0 +1 @@
|
|||
https://web.archive.org/web/20171003035412/https://www.cs.utexas.edu/users/EWD/ewd02xx/EWD288.PDF
|
|
@ -3717,6 +3717,16 @@
|
|||
"type": "eq",
|
||||
"annotations": true
|
||||
},
|
||||
{ "id": "issue4872",
|
||||
"file": "pdfs/issue4872.pdf",
|
||||
"md5": "21c6cbc682140d6f6017bbeb45892053",
|
||||
"rounds": 1,
|
||||
"link": true,
|
||||
"firstPage": 1,
|
||||
"lastPage": 1,
|
||||
"type": "eq",
|
||||
"annotations": true
|
||||
},
|
||||
{ "id": "issue6108",
|
||||
"file": "pdfs/issue6108.pdf",
|
||||
"md5": "8961cb55149495989a80bf0487e0f076",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue