Bug 2026037 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

#### The PDF File

> Attach (recommended) or Link to PDF file here.

It is available at [`assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf`](https://assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf#page=2:~:text=Example:%202023%20to%2024), and attached.

#### How To Reproduce The Problem

1. Download the file:

   ~~~sh
   #!/usr/bin/env sh
   curl https://assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf#page=2:~:text=Example:%202023%20to%2024 -O -J
   xdg-open MATCF_English.pdf
   ~~~

1. Select one of the drop-downs on the second page:

   ~~~JS
   #!/usr/bin/env xdg-open
   location.hash = "page=2";
   document.querySelector('#pdfjs_internal_id_44R').click();
   ~~~

1. Select an exposed element of its context menu (shadow root):

   ~~~sh
   #!/usr/bin/env sh
   ydotool key 108:1 108:0 28:1 28:0
   ~~~

#### What The Expected Behaviour Is

Each square should be filled with the relevant data.

---

> (add screenshot)

That depends upon [`id=278469`](https://bugzilla.mozilla.org/show_bug.cgi?id=278469#c28). However, I'll attach it after submission.

#### What Went Wrong

The first two squares are filled with four squares' worth of data.

---

> (add screenshot)
#### The PDF File

> Attach (recommended) or Link to PDF file here.

It is available at [`assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf`](https://assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf#page=2:~:text=Example:%202023%20to%2024), and attached.

#### How To Reproduce The Problem

1. Download the file:

   ~~~sh
   #!/usr/bin/env sh
   curl https://assets.publishing.service.gov.uk/media/68a4769b246cc964c53d29d8/MATCF_English.pdf#page=2:~:text=Example:%202023%20to%2024 -O -J
   xdg-open MATCF_English.pdf
   ~~~

1. [Select one of the drop-downs](https://stackoverflow.com/a/79913892/9731176) on the second page:

   ~~~JS
   #!/usr/bin/env xdg-open
   location.hash = "page=2";
   document.querySelector('#pdfjs_internal_id_44R').click();
   ~~~

1. Select an exposed element of its context menu (shadow root):

   ~~~sh
   #!/usr/bin/env sh
   ydotool key 108:1 108:0 28:1 28:0
   ~~~

#### What The Expected Behaviour Is

Each square should be filled with the relevant data.

---

> (add screenshot)

That depends upon [`id=278469`](https://bugzilla.mozilla.org/show_bug.cgi?id=278469#c28). However, I'll attach it after submission.

#### What Went Wrong

The first two squares are filled with four squares' worth of data.

---

> (add screenshot)

Back to Bug 2026037 Comment 0