diff --git a/src/display/text_layer.js b/src/display/text_layer.js index 778cfe444..9475b5950 100644 --- a/src/display/text_layer.js +++ b/src/display/text_layer.js @@ -27,15 +27,16 @@ import { * render (the object is returned by the page's `getTextContent` method). * @property {ReadableStream} [textContentStream] - Text content stream to * render (the stream is returned by the page's `streamTextContent` method). - * @property {HTMLElement} container - HTML element that will contain text runs. + * @property {DocumentFragment} container - The DOM node that will contain the + * text runs. * @property {import("./display_utils").PageViewport} viewport - The target * viewport to properly layout the text runs. - * @property {Array} [textDivs] - HTML elements that are correspond - * to the text items of the textContent input. This is output and shall be - * initially be set to empty array. + * @property {Array} [textDivs] - HTML elements that correspond to + * the text items of the textContent input. + * This is output and shall initially be set to an empty array. * @property {Array} [textContentItemsStr] - Strings that correspond to - * the `str` property of the text items of textContent input. This is output - * and shall be initially be set to empty array. + * the `str` property of the text items of the textContent input. + * This is output and shall initially be set to an empty array. * @property {number} [timeout] - Delay in milliseconds before rendering of the * text runs occurs. * @property {boolean} [enhanceTextSelection] - Whether to turn on the text