mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
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:
parent
acd1fa4c4f
commit
69e9fe2494
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue