edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev]  Parallel versions of js access functions
Date: Sun, 27 Sep 2015 13:43:25 -0400	[thread overview]
Message-ID: <20150827134325.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1509270906530.5894@carhart.net>

> The tags in the innerHTML could be inherently intermediate.

Yes they could, and in that case the side effects would
eventually create them and delete them,
or perhaps create them but never link them into the tree and thus never rendered.
That's not great but not awful,
and probably not worth all the software it would take
to detect and manage this situation.
Disconnected parts will all clean up during unbrowse
as part of garbage collection.
I'm inclined to just let it ride.

So very well, document.write will process via the same mechanism
as innerHTML, under the aegis of the innerHTML setter function
in native js, at the moment of execution.
The real trick is passing the created subtree back to edbrowse,
which I have some ideas on, that are not fully formed yet.
Once reconstituted on our side, the subtree can be pasted into our primary tree,
ready for rendering.

Karl Dahlke

      reply	other threads:[~2015-09-27 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-27  4:42 Karl Dahlke
2015-09-27 17:18 ` Kevin Carhart
2015-09-27 17:43   ` Karl Dahlke [this message]

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=20150827134325.eklhad@comcast.net \
    --to=eklhad@comcast.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).