The test file at https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-choice-widget.pdf contains listboxes, which are not rendered correctly when printed right now. These kinds of fields are made by https://github.com/mozilla/pdf.js/blob/master/src/display/annotation_layer.js#L672-L678.

/cc @calixteman 
}
    it("should set and get a transparent color", function () {
      const annotation = new Annotation({ dict, ref }
      annotation.setColor([]
      expect(annotation.color).toEqual(null
    }
    it("should set and get a grayscale color", function () {
      const annotation = new Annotation({ dict, ref }
      annotation.setColor([0.4]
      expect(annotation.color).toEqual(new Uint8ClampedArray([102, 102, 102])
    }
    it("should set and get an RGB color", function () {
      const annotation = new Annotation({ dict, ref }
      annotation.setColor([0, 0, 1]
      expect(annotation.color).toEqual(new Uint8ClampedArray([0, 0, 255])
    }
    it("should set and get a CMYK color", function () {
      const annotation = new Annotation({ dict, ref }
      annotation.setColor([0.1, 0.92, 0.84, 0.02]
      expect(annotation.color).toEqual(new Uint8ClampedArray([234, 59, 48])
    }
    it("should not set and get an invalid color", function () {
      const annotation = new Annotation({ dict, ref }
      annotation.setColor([0.4, 0.6]
      expect(annotation.color).toEqual(new Uint8ClampedArray([0, 0, 0])
    }
  }
  describe("AnnotationBorderStyle", function () {
    it("should set and get a valid width", function () {
      const borderStyleInt = new AnnotationBorderStyle(