Provide a prefixed appearance CSS rule for reference testing in Chrome

In `rasterizeAnnotationLayer` we load the source CSS files directly, so
these are not processed by Autoprefixer. Since the prefixed rules have
now been removed from the source CSS files, we must manually provide one
prefixed rule that Chrome needs in the overrides CSS file for checkbox
and radio button rendering to work in the reference tests.
This commit is contained in:
Tim van der Meij 2018-04-08 13:54:16 +02:00
parent acd1fa4c4f
commit 69e9fe2494
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -19,6 +19,11 @@
position: absolute;
}
.annotationLayer .buttonWidgetAnnotation.checkBox input,
.annotationLayer .buttonWidgetAnnotation.radioButton input {
-webkit-appearance: none;
}
.annotationLayer .linkAnnotation > a,
.annotationLayer .buttonWidgetAnnotation.pushButton > a {
opacity: 0.2;