aboutsummaryrefslogtreecommitdiffstats
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/dom.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/html/dom.nim b/src/html/dom.nim
index ae792b76..716d6776 100644
--- a/src/html/dom.nim
+++ b/src/html/dom.nim
@@ -425,7 +425,7 @@ type
HTMLAudioElement* = ref object of HTMLElement
- HTMLIFrameElement = ref object of HTMLElement
+ HTMLIFrameElement* = ref object of HTMLElement
HTMLTableElement = ref object of HTMLElement
cachedRows: HTMLCollection
@@ -3508,6 +3508,8 @@ proc newElement*(document: Document; localName, namespaceURI, prefix: CAtom):
HTMLTableSectionElement()
of TAG_META:
HTMLMetaElement()
+ of TAG_IFRAME:
+ HTMLIFrameElement()
elif sns == satNamespaceSVG:
if tagType == TAG_SVG:
SVGSVGElement()