From e91b60b5962bed9842e8559df3d27bb5426b2db6 Mon Sep 17 00:00:00 2001 From: bptato Date: Wed, 16 Aug 2023 22:13:50 +0200 Subject: dom: remove dead code --- src/html/dom.nim | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/html') diff --git a/src/html/dom.nim b/src/html/dom.nim index c9b6bd6e..8afb68e6 100644 --- a/src/html/dom.nim +++ b/src/html/dom.nim @@ -2013,13 +2013,6 @@ func newDocumentType*(document: Document, name: string, publicId = "", systemId index: -1 ) -func inHTMLNamespace*(element: Element): bool = element.namespace == Namespace.HTML -func inMathMLNamespace*(element: Element): bool = element.namespace == Namespace.MATHML -func inSVGNamespace*(element: Element): bool = element.namespace == Namespace.SVG -func inXLinkNamespace*(element: Element): bool = element.namespace == Namespace.XLINK -func inXMLNamespace*(element: Element): bool = element.namespace == Namespace.XML -func inXMLNSNamespace*(element: Element): bool = element.namespace == Namespace.XMLNS - func isResettable*(element: Element): bool = return element.tagType in {TAG_INPUT, TAG_OUTPUT, TAG_SELECT, TAG_TEXTAREA} -- cgit 1.4.1-2-gfad0