Skip to content

Hide the text in the text layer associated with MathML elements (bug 2009627)#20567

Merged
calixteman merged 1 commit intomozilla:masterfrom
calixteman:bug2009627
Jan 14, 2026
Merged

Hide the text in the text layer associated with MathML elements (bug 2009627)#20567
calixteman merged 1 commit intomozilla:masterfrom
calixteman:bug2009627

Conversation

@calixteman
Copy link
Contributor

The bug was supposed to be fixed by #20471 but here there are some annotations in the pdf.
When those annotations are added to the DOM, the struct tree has to be rendered but without the text layer (because of asynchronicity).
So this patch is making sure that the modifications in the text layer are done once the layer is rendered.

Copy link
Contributor

@timvandermeij timvandermeij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, with the comments addressed and passing tests. Thank you!

@calixteman calixteman force-pushed the bug2009627 branch 2 times, most recently from f55f566 to 84c0c94 Compare January 13, 2026 19:36
…2009627)

The bug was supposed to be fixed by mozilla#20471 but here there are some annotations in the pdf.
When those annotations are added to the DOM, the struct tree has to be rendered but without
the text layer (because of asynchronicity).
So this patch is making sure that the modifications in the text layer are done once the
layer is rendered.
@calixteman
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @calixteman received. Current queue size: 1

Live output at: http://54.193.163.58:8877/1aa84353518bc21/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @calixteman received. Current queue size: 1

Live output at: http://54.241.84.105:8877/1fdd55ff1444af2/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/1fdd55ff1444af2/output.txt

Total script time: 20.77 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/1aa84353518bc21/output.txt

Total script time: 44.58 mins

  • Integration Tests: FAILED

@calixteman calixteman merged commit 6612d7a into mozilla:master Jan 14, 2026
8 checks passed
@calixteman calixteman deleted the bug2009627 branch January 14, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants