9front - general discussion about 9front
 help / color / mirror / Atom feed
From: an2qzavok@gmail.com
To: 9front@9front.org
Subject: Re: [9front] Musings on web browsers and office applications
Date: Thu, 04 Apr 2024 05:23:18 +0300	[thread overview]
Message-ID: <1811213.3VsfAaAtOV@rogue> (raw)
In-Reply-To: <7833cb39-ccb1-4f04-89ac-aaab6f25b80e@howhill.com>

> That's intriguing. What are those edge cases?
My memory of HTML standard is fading...

Main issue is all the elements that have extra state associated with them.
Sometimes data needs to be fetched from outside (img, link), fetching can be 
non-trivial and controled by client software (source) or user (audio, video).
Sometimes data is provided by user (text input fields, radio buttons), or 
generated by scripts (canvas)
Very often data needs to be processed before use (decoding videos, resizing 
images)
iframe is nasty in particular because it's not just static data but another 
whole DOM instance.

Another issue is various metadata, for example style properties. Those need to 
be derived from multiple sources (some of them external, i.e. linked css)  and 
can be changed by scripts and need to be recomputed.

And a real showstopper is dynamic/OOP nature of the DOM, where nodes have many 
methods depending on their type (around 12 of them) and can be created, 
destroyed and rearranged right under user's feet.

It's hard to draw a line on where handling all of this belongs, fileserver or 
it's client. The more work we push on the client, the less useful server 
becomes, but doing things in server ruins all our hopes of having nice and 
clean file structure and doesn't make client's work any easier, only different 
kind of complicated.

(Huh, I guess these are not really edge cases, these are meat and bones of 
HTML now. Sorry for the confusion.)




      reply	other threads:[~2024-04-04  2:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-01  2:13 Willow Liquorice
2024-04-01  9:17 ` Pavel Renev
2024-04-03 20:42   ` Willow Liquorice
2024-04-04  2:23     ` an2qzavok [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=1811213.3VsfAaAtOV@rogue \
    --to=an2qzavok@gmail.com \
    --cc=9front@9front.org \
    /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).