edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Kevin Carhart <kevin@carhart.net>
To: Edbrowse-dev@lists.the-brannons.com
Cc: kevin@carhart.net
Subject: [edbrowse-dev] [PATCH] Implement HTMLIFrameElement
Date: Fri, 07 Aug 2020 00:50:56 -0700	[thread overview]
Message-ID: <20200707005056.kevin@carhart.net > (raw)

From 7f7cfbe19f4fb9e34f915f846a7108fdac2cc944 Mon Sep 17 00:00:00 2001
From: Kevin Carhart <kevin@carhart.net>
Date: Fri, 7 Aug 2020 00:38:34 -0700
Subject: [PATCH] Implement HTMLIFrameElement

---
 src/startwindow.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/startwindow.js b/src/startwindow.js
index 3db4f5d..e953ec3 100644
--- a/src/startwindow.js
+++ b/src/startwindow.js
@@ -981,6 +981,7 @@ mw0.Anchor = function(){}; mw0.Anchor.domclass = "Anchor";
 mw0.HTMLAnchorElement = function(){}; mw0.HTMLAnchorElement.domclass = "HTMLAnchorElement";
 mw0.HTMLLinkElement = function(){}; mw0.HTMLLinkElement.domclass = "HTMLLinkElement";
 mw0.HTMLAreaElement = function(){}; mw0.HTMLAreaElement.domclass = "HTMLAreaElement";
+mw0.HTMLIFrameElement = mw0.Frame;
 mw0.Lister = function(){}; mw0.Lister.domclass = "Lister";
 mw0.Listitem = function(){}; mw0.Listitem.domclass = "Listitem";
 mw0.tBody = function(){ this.rows = []; }; mw0.tBody.domclass = "tBody";
@@ -3260,7 +3261,7 @@ case "tfoot": c = new tFoot; break;
 case "canvas": c = new Canvas; break;
 case "audio": c = new Audio; break;
 case "document": c = new Document; break;
-case "iframe": case "frame": c = new Frame; break;
+case "iframe": case "frame": case "HTMLIFrameElement": c = new Frame; break;
 case "select": c = new Select; break;
 case "option":
 c = new Option;
@@ -3592,6 +3593,7 @@ Anchor = mw0.Anchor;
 HTMLAnchorElement = mw0.HTMLAnchorElement;
 HTMLLinkElement = mw0.HTMLLinkElement;
 HTMLAreaElement = mw0.HTMLAreaElement;
+HTMLIFrameElement = mw0.HTMLIFrameElement;
 Lister = mw0.Lister;
 Listitem = mw0.Listitem;
 tBody = mw0.tBody;
-- 
1.8.3.2


                 reply	other threads:[~2020-08-07  7:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20200707005056.kevin@carhart.net ' \
    --to=kevin@carhart.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).