about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-08-16 22:13:50 +0200
committerbptato <nincsnevem662@gmail.com>2023-08-16 22:13:50 +0200
commite91b60b5962bed9842e8559df3d27bb5426b2db6 (patch)
treec751970f02b9670fc0980aa72d5364b397581984 /src
parent95d48d0e34aca70a06eb2f23944e2e14e5995b54 (diff)
downloadchawan-e91b60b5962bed9842e8559df3d27bb5426b2db6.tar.gz
dom: remove dead code
Diffstat (limited to 'src')
-rw-r--r--src/html/dom.nim7
1 files changed, 0 insertions, 7 deletions
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}