mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
XFA - Fix xfaLink class to make links work (bug 1735738)
There were some links not working in some XFA files,I realized that the anchor tag that contains the link has an inline display and couldn't receive any height, solved this by adding a "position: absolute". Tested with two different files in Firefox Nightly and Chrome and now all links are working perfectly fine. Added reftest to avoid future regressions
This commit is contained in:
parent
52fce0d17b
commit
db0b3cda8b
5 changed files with 38 additions and 2 deletions
|
@ -223,6 +223,9 @@
|
|||
.xfaLink {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.xfaCheckbox,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue