Attach (recommended) or Link to PDF file here:
[mytestfile.pdf](https://github.com/mozilla/pdf.js/files/7190033/mytestfile.pdf)

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: linux debian

Steps to reproduce the problem:
1. Open the pdf  
2. Click on the yellow area

What is the expected behavior? (add screenshot)
The text layout should be RTL.

What went wrong? (add screenshot)
The text layout is LTR.

It works correctly in evince and in acrobat.
I added a `dir="rtl"` on the `p` element in using devtools and the rendering is the same as in acrobat.

expect(data.actions.Action).toEqual(["do_something("]
    }
    it("should handle push buttons that act as a tooltip only", async function () {
      const buttonWidgetRef = Ref.get(124, 0
      buttonWidgetDict.set("Ff", AnnotationFieldFlag.PUSHBUTTON
      buttonWidgetDict.set("TU", "An alternative text"
      const xref = new XRefMock([
        { ref: buttonWidgetRef, data: buttonWidgetDict },
      ]
      const { data } = await AnnotationFactory.create(
        xref,
        buttonWidgetRef,
        pdfManagerMock,
        idFactoryMock
      
      expect(data.annotationType).toEqual(AnnotationType.WIDGET
      expect(data.pushButton).toEqual(true
      expect(data.alternativeText).toEqual("An alternative text"
    }
    it("should handle URL in A dict in push buttons", async function () {
      const buttonWidgetRef = Ref.get(124, 0
      buttonWidgetDict.set("Ff", AnnotationFieldFlag.PUSHBUTTON
      const actionDict = new Dict(
      actionDict.set("S", Name.get("JavaScript")
      actionDict.set(
        "JS",
        "app.launchURL('https://developer.mozilla.org/en-US/', true)"
      
      buttonWidgetDict.set("A", actionDict
      const xref = new XRefMock([