-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Extend TextLayerRenderParameters.container type to include HTMLElement. #15015
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please make sure that the commit message contains all of the same information that you've included in the PR title/description since "update type" isn't really sufficient.
In PR #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.
TextLayerRenderParameters.container
type from DocumentFragment to NodeTextLayerRenderParameters.container
type to include HTMLElement.
TextLayerRenderParameters.container
type to include HTMLElement.
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/e4cae86df5e0cd2/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/e4cae86df5e0cd2/output.txt Total script time: 2.58 mins Published |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the patch!
In PR #14717,
TextLayerRenderParameters.container
was changed from aHTMLElement
to aDocumentFragment
since the prebuilt web viewer uses a fragment.This type breaks projects that use a
HTMLElement
for a container.To remedy this, we extend the type of container to also include
HTMLElement
.