Skip to content

Commit 9d26790

Browse files
author
Catherine
committed
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.
1 parent 52fce0d commit 9d26790

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

test/pdfs/xfa_bug1735738.pdf

204 KB
Binary file not shown.

test/test_manifest.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -6011,5 +6011,11 @@
60116011
"enableXfa": true,
60126012
"type": "eq",
60136013
"lastPage": 1
6014-
}
6014+
},
6015+
{ "id": "xfa_bug1735738",
6016+
"file": "pdfs/xfa_bug1735738.pdf",
6017+
"md5": "7aa91f6681798c48e0c9d9836ed30742",
6018+
"rounds": 1,
6019+
"type": "eq"
6020+
}
60156021
]

web/xfa_layer_builder.css

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
.xfaLink {
224224
width: 100%;
225225
height: 100%;
226+
position: absolute;
226227
}
227228

228229
.xfaCheckbox,

0 commit comments

Comments
 (0)