From 69e9fe2494e9a68902934fbf92259bb8a85839a5 Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sun, 8 Apr 2018 13:54:16 +0200 Subject: [PATCH] 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. --- test/annotation_layer_builder_overrides.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/annotation_layer_builder_overrides.css b/test/annotation_layer_builder_overrides.css index 97432939d..c2d13407a 100644 --- a/test/annotation_layer_builder_overrides.css +++ b/test/annotation_layer_builder_overrides.css @@ -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;