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
```
popupDict.set("Subtype", Name.get("Popup")
      popupDict.set("Parent", parentDict
      const popupRef = Ref.get(13, 0
      const xref = new XRefMock([{ ref: popupRef, data: popupDict }]
      const { data } = await AnnotationFactory.create(
        xref,
        popupRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.POPUP
      expect(data.modificationDate).toEqual(null
      expect(data.color).toEqual(null
    }
    it(
      "should inherit the parent flags when the Popup is not viewable, " +
        "but the parent is (PR 7352)",
      async function () {
        const parentDict = new Dict(
        parentDict.set("Type", Name.get("Annot")
        parentDict.set("Subtype", Name.get("Text")
        parentDict.set("F", 28 // viewable
        const popupDict = new Dict(
        popupDict.set("Type", Name.get("Annot")
        popupDict.set("Subtype", Name.get("Popup")
        popupDict.set("F", 25 // not viewable
        popupDict.set("Parent", parentDict
        const popupRef = Ref.get(13, 0
        const xref = new XRefMock([{ ref: popupRef, data: popupDict }]
        const { data, viewable } = await AnnotationFactory.create(