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: Tue, 19 Mar 2019 17:49:33 -0400	[thread overview]
Message-ID: <jwvsgvisfis.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3zhpqzkab.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 19 Mar 2019 21:22:36 +0100")

>> When I ask `M-x eww RET https://git.sr.ht/~sircmpwn/core.sr.ht/tree RET`
>> I get a result where the files are listed as:
>>
>>     d---------
>>     .builds/
>
> shr supports a very minimal subset of CSS, and that page is just a soup
> of divs (which has block display syntax by default):
>
>       <div class="mode">
>         <span title="40000">
>           
>           d---------
>           
>         </span>
>       </div>
>       <div class="name tree">
>         
>         <a href="/~sircmpwn/core.sr.ht/tree/master/.builds"
>         >
>           .builds/
>         </a>
>         
>       </div>
>       <div class="commit">
>         
>       </div>

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).

> 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?


        Stefan





  reply	other threads:[~2019-03-19 21:49 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 [this message]
2019-03-19 21:54     ` Lars Ingebrigtsen
2019-03-21  1:01       ` Stefan Monnier
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=jwvsgvisfis.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).