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 
borderStyleInt.setWidth(3
      const borderStyleNum = new AnnotationBorderStyle(
      borderStyleNum.setWidth(2.5
      expect(borderStyleInt.width).toEqual(3
      expect(borderStyleNum.width).toEqual(2.5
    }
    it("should not set and get an invalid width", function () {
      const borderStyle = new AnnotationBorderStyle(
      borderStyle.setWidth("three"
      expect(borderStyle.width).toEqual(1
    }
    it("should set the width to zero, when the input is a `Name` (issue 10385)", function () {
      const borderStyleZero = new AnnotationBorderStyle(
      borderStyleZero.setWidth(Name.get("0")
      const borderStyleFive = new AnnotationBorderStyle(
      borderStyleFive.setWidth(Name.get("5")
      expect(borderStyleZero.width).toEqual(0
      expect(borderStyleFive.width).toEqual(0
    }
    it("should set and get a valid style", function () {
      const borderStyle = new AnnotationBorderStyle(
      borderStyle.setStyle(Name.get("D")
      expect(borderStyle.style).toEqual(AnnotationBorderStyleType.DASHED
    }
    it("should not set and get an invalid style", function () {
      const borderStyle = new AnnotationBorderStyle(
      borderStyle.setStyle("Dashed"
      expect(borderStyle.style).toEqual(AnnotationBorderStyleType.SOLID
    }
    it("should set and get a valid dash array", function () {