Skip to content

Commit fc9ba0c

Browse files
committed
Remove the shadow from the links (bug 1974436)
The shadow was taken into account when computing the bounding box of the section containing the link and it was making the clip path wrong. Since the shadow is almost invisible because of the opacity, the yellow color and the clip we can remove it without causing any visual regressions (and as a side effect it'll avoid to use resources to compute it when displayed).
1 parent 85b67f1 commit fc9ba0c

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

test/pdfs/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,3 +728,4 @@
728728
!issue19517.pdf
729729
!empty#hash.pdf
730730
!bug1885505.pdf
731+
!bug1974436.pdf

test/pdfs/bug1974436.pdf

48.2 KB
Binary file not shown.

test/test_manifest.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12140,5 +12140,13 @@
1214012140
"type": "eq",
1214112141
"forms": true,
1214212142
"link": true
12143+
},
12144+
{
12145+
"id": "bug1974436",
12146+
"file": "pdfs/bug1974436.pdf",
12147+
"md5": "538b64d6781ac370e29887c9805063af",
12148+
"rounds": 1,
12149+
"type": "eq",
12150+
"annotations": true
1214312151
}
1214412152
]

web/annotation_layer_builder.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@
155155
> a:hover {
156156
opacity: 0.2;
157157
background-color: rgb(255 255 0);
158-
box-shadow: 0 2px 10px rgb(255 255 0);
159158
}
160159

161160
.linkAnnotation.hasBorder:hover {

0 commit comments

Comments
 (0)