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
```
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(""
    }
    it("should construct the field name when there are no ancestors", async function () {
      widgetDict.set("T", "foo"
      const widgetRef = Ref.get(21, 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"
    }
    it("should construct the field name when there are ancestors", async function () {
      const firstParent = new Dict(
      firstParent.set("T", "foo"
      const secondParent = new Dict(
      secondParent.set("Parent", firstParent
      secondParent.set("T", "bar"
      widgetDict.set("Parent", secondParent