Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the type of the container property, in the TextLayerRenderParameters typedef (issue 14716) #14717

Merged
merged 1 commit into from
Mar 27, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

Given that the textLayer-code has been using a DocumentFragment ever since PR #3356 (back in 2013), simply updating the type of the container property should be fine.
This patch also tries to, ever so slightly, improve the grammar of a couple of other properties in the typedef.

…arameters` typedef (issue 14716)

Given that the textLayer-code has been using a `DocumentFragment` ever since PR 3356 (back in 2013), simply updating the type of the `container` property should be fine.
This patch also tries to, ever so slightly, improve the grammar of a couple of other properties in the typedef.
@Snuffleupagus Snuffleupagus linked an issue Mar 24, 2022 that may be closed by this pull request
@timvandermeij timvandermeij merged commit 973b920 into mozilla:master Mar 27, 2022
@timvandermeij
Copy link
Contributor

Thanks for updating this!

@Snuffleupagus Snuffleupagus deleted the issue-14716 branch March 27, 2022 12:17
rousek pushed a commit to signosoft/pdf.js that referenced this pull request Aug 10, 2022
In PR mozilla#14717, the type was changed from a HTMLElement to a DocumentFragment.
This broke TypeScript projects that use a HTMLElement container.

To remedy this, we extend the type of container to also include HTMLElement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect type for container in TextLayerRenderParameters
2 participants