unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 34920@debbugs.gnu.org
Subject: bug#34920: 27.0.50; Poor eww rendering of SourceHut file "trees"
Date: Wed, 20 Mar 2019 21:01:05 -0400	[thread overview]
Message-ID: <jwvftrhm4a2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3tvfyzg1p.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 19 Mar 2019 22:54:10 +0100")

>> I saw that, but I'm not familiar enough with HTML to know if it could be
>> simplified without impacting its use in various other circumstances (in
>> which case we could lobby SourceHut's author).
>
> It's somewhat eccentric to use <div>s here instead of <span>s here,
> since <span> are "inline" while <div> are "blocks" (which is why shr
> breaks the line), but it's totally normal to not care: The CSS on the
> web site will just override with whatever display: foo the web site
> designer wants.

Hmm... so we could ask the author to use `span` instead of `div` here
and we'd get a better rendering.  I'll see what he says.

>>> In addition, eww doesn't support external CSS at all, so what you're
>>> seeing is what I'd expect.
>> Any hope to see some incremental improvement that would get us closer to
>> rendering these kinds of pages better?
> Deciding to change shr to load external resources (for CSS etc) would be
> a big step..

It already loads external resources for images, tho, so I don't see why
it would be such a big change.


        Stefan





  reply	other threads:[~2019-03-21  1:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19 20:00 bug#34920: 27.0.50; Poor eww rendering of SourceHut file "trees" Stefan Monnier
2019-03-19 20:22 ` Lars Ingebrigtsen
2019-03-19 21:49   ` Stefan Monnier
2019-03-19 21:54     ` Lars Ingebrigtsen
2019-03-21  1:01       ` Stefan Monnier [this message]
2019-03-21  8:19         ` Lars Ingebrigtsen
2019-03-21 12:14           ` Stefan Monnier
2019-03-21 12:44             ` Lars Ingebrigtsen
2019-03-21 13:20               ` Stefan Monnier
2019-03-21 13:48                 ` Lars Ingebrigtsen
2019-03-21 17:09                   ` Basil L. Contovounesios
2019-03-22  0:39                     ` Stefan Monnier
2019-03-23 15:24                       ` Lars Ingebrigtsen
2019-05-13 19:32                         ` Lars Ingebrigtsen
2019-04-09 23:54                   ` Noam Postavsky

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvftrhm4a2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=34920@debbugs.gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).