SYMBOL INDEX (100 symbols across 13 files) FILE: src/apply-style.ts function applyStyle (line 3) | function applyStyle( FILE: src/clone-node.ts function cloneCanvasElement (line 12) | async function cloneCanvasElement(canvas: HTMLCanvasElement) { function cloneVideoElement (line 20) | async function cloneVideoElement(video: HTMLVideoElement, options: Optio... function cloneIFrameElement (line 37) | async function cloneIFrameElement(iframe: HTMLIFrameElement, options: Op... function cloneSingleNode (line 53) | async function cloneSingleNode( function cloneChildren (line 78) | async function cloneChildren( function cloneCSSStyle (line 122) | function cloneCSSStyle( function cloneInputValue (line 166) | function cloneInputValue(nativeNode: T, clonedNod... function cloneSelectValue (line 176) | function cloneSelectValue(nativeNode: T, clonedNo... function decorate (line 189) | function decorate( function ensureSVGSymbols (line 204) | async function ensureSVGSymbols( function cloneNode (line 251) | async function cloneNode( FILE: src/clone-pseudos.ts type Pseudo (line 4) | type Pseudo = ':before' | ':after' function formatCSSText (line 6) | function formatCSSText(style: CSSStyleDeclaration) { function formatCSSProperties (line 11) | function formatCSSProperties(style: CSSStyleDeclaration, options: Option... function getPseudoElementStyle (line 22) | function getPseudoElementStyle( function clonePseudoElement (line 36) | function clonePseudoElement( function clonePseudoElements (line 62) | function clonePseudoElements( FILE: src/dataurl.ts function getContentFromDataUrl (line 3) | function getContentFromDataUrl(dataURL: string) { function isDataUrl (line 7) | function isDataUrl(url: string) { function makeDataUrl (line 11) | function makeDataUrl(content: string, mimeType: string) { function fetchAsDataURL (line 15) | async function fetchAsDataURL( function getCacheKey (line 42) | function getCacheKey( function resourceToDataURL (line 61) | async function resourceToDataURL( FILE: src/embed-images.ts function embedProp (line 7) | async function embedProp( function embedBackground (line 25) | async function embedBackground( function embedImageNode (line 37) | async function embedImageNode( function embedChildren (line 86) | async function embedChildren( function embedImages (line 95) | async function embedImages( FILE: src/embed-resources.ts constant URL_REGEX (line 6) | const URL_REGEX = /url\((['"]?)([^'"]+?)\1\)/g constant URL_WITH_FORMAT_REGEX (line 7) | const URL_WITH_FORMAT_REGEX = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g constant FONT_SRC_REGEX (line 8) | const FONT_SRC_REGEX = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g function toRegex (line 10) | function toRegex(url: string): RegExp { function parseURLs (line 16) | function parseURLs(cssText: string): string[] { function embed (line 27) | async function embed( function filterPreferredFontFormat (line 51) | function filterPreferredFontFormat( function shouldEmbed (line 72) | function shouldEmbed(url: string): boolean { function embedResources (line 76) | async function embedResources( FILE: src/embed-webfonts.ts type Metadata (line 6) | interface Metadata { function fetchCSS (line 13) | async function fetchCSS(url: string) { function embedFonts (line 28) | async function embedFonts(data: Metadata, options: Options): Promise( function normalizeFontFamily (line 205) | function normalizeFontFamily(font: string) { function getUsedFonts (line 209) | function getUsedFonts(node: HTMLElement) { function getWebFontCSS (line 228) | async function getWebFontCSS( function embedWebFonts (line 250) | async function embedWebFonts( FILE: src/index.ts function toSvg (line 15) | async function toSvg( function toCanvas (line 28) | async function toCanvas( function toPixelData (line 61) | async function toPixelData( function toPng (line 71) | async function toPng( function toJpeg (line 79) | async function toJpeg( function toBlob (line 87) | async function toBlob( function getFontEmbedCSS (line 96) | async function getFontEmbedCSS( FILE: src/mimes.ts constant WOFF (line 1) | const WOFF = 'application/font-woff' constant JPEG (line 2) | const JPEG = 'image/jpeg' function getExtension (line 17) | function getExtension(url: string): string { function getMimeType (line 22) | function getMimeType(url: string): string { FILE: src/types.ts type Options (line 1) | interface Options { FILE: src/util.ts function resolveUrl (line 3) | function resolveUrl(url: string, baseUrl: string | null): string { function delay (line 51) | function delay(ms: number) { function toArray (line 58) | function toArray(arrayLike: any): T[] { function getStyleProperties (line 69) | function getStyleProperties(options: Options = {}): string[] { function px (line 84) | function px(node: HTMLElement, styleProperty: string) { function getNodeWidth (line 90) | function getNodeWidth(node: HTMLElement) { function getNodeHeight (line 96) | function getNodeHeight(node: HTMLElement) { function getImageSize (line 102) | function getImageSize(targetNode: HTMLElement, options: Options = {}) { function getPixelRatio (line 109) | function getPixelRatio() { function checkCanvasDimensions (line 135) | function checkCanvasDimensions(canvas: HTMLCanvasElement) { function canvasToBlob (line 161) | function canvasToBlob( function createImage (line 199) | function createImage(url: string): Promise { function svgToDataURL (line 214) | async function svgToDataURL(svg: SVGElement): Promise { function nodeToDataURL (line 221) | async function nodeToDataURL( FILE: test/spec/helper.ts function getCaptureNode (line 6) | function getCaptureNode() { function getReferenceImage (line 10) | function getReferenceImage() { function getCanvasNode (line 14) | function getCanvasNode() { function getStyleNode (line 18) | function getStyleNode() { constant BASE_URL (line 22) | const BASE_URL = '/base/test/resources/' constant ROOT_ID (line 23) | const ROOT_ID = 'test-root' function clean (line 25) | function clean() { function setup (line 32) | async function setup() { function bootstrap (line 41) | async function bootstrap( function fetchFile (line 65) | async function fetchFile(fileName: string) { function makeImage (line 71) | function makeImage(src: string) { function makeCanvas (line 80) | function makeCanvas( function drawImg (line 103) | function drawImg( function drawDataUrl (line 114) | async function drawDataUrl( function check (line 126) | async function check(dataUrl: string) { function logDataUrl (line 132) | async function logDataUrl(node: HTMLDivElement = getCaptureNode()) { function renderAndCheck (line 143) | async function renderAndCheck( function compareToRefImage (line 150) | function compareToRefImage(sourceData: ImageData, threshold = 0.1) { function getSvgDocument (line 160) | async function getSvgDocument(dataUrl: string): Promise { constant PASS_TEXT_MATCH (line 167) | const PASS_TEXT_MATCH = true function assertTextRendered (line 169) | function assertTextRendered(lines: string[], options?: Options) { function recognizeImage (line 178) | async function recognizeImage(node: HTMLDivElement, options?: Options) { function recognize (line 185) | async function recognize(dataUrl: string) { FILE: test/spec/options.spec.ts method filter (line 104) | filter(node) { method filter (line 121) | filter(node) {