clipper: remove unneeded code & packages

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
This commit is contained in:
01zulfi
2025-06-11 16:59:52 +05:00
committed by Abdullah Atta
parent faaf1eeadf
commit f3f61d0e19
5 changed files with 37 additions and 968 deletions

View File

@@ -165,14 +165,6 @@ function getRootStylesheet() {
return null;
}
function safeQuerySelectorAll(root: Node, selector: string) {
try {
return (root as HTMLElement).querySelectorAll(selector);
} catch (e) {
return new NodeList();
}
}
const SVGElements = [
"altGlyph",
"altGlyphDef",
@@ -272,6 +264,5 @@ export {
escapeXhtml,
width,
height,
safeQuerySelectorAll,
isSVGElement
};