aboutsummaryrefslogtreecommitdiffstats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-01-09 20:00:05 +0100
committerbptato <nincsnevem662@gmail.com>2025-01-09 20:00:05 +0100
commit36c280848e85595166e51bacb215a4d1eb550e0d (patch)
tree1a7c8f4d8bd1865cad0ae052045c3a641c0d573c /src/html
parent86129e41a258cdbab4d9cccd86709e2ab02a3645 (diff)
downloadchawan-36c280848e85595166e51bacb215a4d1eb550e0d.tar.gz
buffer: make iframes clickable
better than nothing
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()