Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
widgetDict.set("T", "baz"
      const widgetRef = Ref.get(22, 0
      const xref = new XRefMock([{ ref: widgetRef, data: widgetDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        widgetRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.WIDGET
      expect(data.fieldName).toEqual("foo.bar.baz"
    }
    it(
      "should construct the field name if a parent is not a dictionary " +
        "(issue 8143)",
      async function () {
        const parentDict = new Dict(
        parentDict.set("Parent", null
        parentDict.set("T", "foo"
        widgetDict.set("Parent", parentDict
        widgetDict.set("T", "bar"
        const widgetRef = Ref.get(22, 0
        const xref = new XRefMock([{ ref: widgetRef, data: widgetDict }]
        const { data } = await AnnotationFactory.create(
          xref,
          widgetRef,
          pdfManagerMock,
          idFactoryMock
        
        expect(data.annotationType).toEqual(AnnotationType.WIDGET