From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#34920: 27.0.50; Poor eww rendering of SourceHut file "trees" Date: Wed, 20 Mar 2019 21:01:05 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162219"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34920@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 21 02:16:43 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6mK3-000g6c-9R for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Mar 2019 02:16:43 +0100 Original-Received: from localhost ([127.0.0.1]:57748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6mK2-0002va-6Z for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 21:16:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6mID-0001LX-1V for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 21:14:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6m5q-0004Le-9i for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 21:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6m5p-0004LF-TO for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 21:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6m5p-0000F7-Jt for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 21:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Mar 2019 01:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34920 X-GNU-PR-Package: emacs Original-Received: via spool by 34920-submit@debbugs.gnu.org id=B34920.1553130077873 (code B ref 34920); Thu, 21 Mar 2019 01:02:01 +0000 Original-Received: (at 34920) by debbugs.gnu.org; 21 Mar 2019 01:01:17 +0000 Original-Received: from localhost ([127.0.0.1]:52534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6m56-0000E1-SU for submit@debbugs.gnu.org; Wed, 20 Mar 2019 21:01:17 -0400 Original-Received: from mail01.iro.umontreal.ca ([132.204.25.201]:46668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6m55-0000Dp-KC for 34920@debbugs.gnu.org; Wed, 20 Mar 2019 21:01:15 -0400 Original-Received: from mail01.iro.umontreal.ca (mail01.iro.umontreal.ca [127.0.0.1]) by mail01.iro.umontreal.ca (Postfix) with ESMTP id EF0EA80FD6C4 for <34920@debbugs.gnu.org>; Wed, 20 Mar 2019 21:01:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; h=content-type:content-type:mime-version:user-agent:in-reply-to :date:date:references:message-id:subject:subject:to:from:from; s=dkim; t=1553130067; x=1553994068; bh=AxXCl5+AOwUqHRHT1KfmvigA 0oZbY4Gv3DUf24MLTxU=; b=akcuqmmI6Lus8EMfO5Ac3VxMuRasESd6EV8SN7qx 5NHrnGlu7XjTDd3CtbXIl7fMWjSNBnRtu7Qo5o0ihTQkhLFOE6qQNEcgURZ2LSHz I4AfJIPxvv27WrRFx6mqB+vBKnZNKR4iqDYzRKVSTrMrwuyWz3VY1Kq0pMq8B8Od 4Mp/cWxY9nvpb6J4F8i0xRPaobWLEMAZbVc12HdseOVDB0ZimUDwvotMr1xgYa5N 0/gv2fhGtSima8T9tmyQkAh+BQ7yaZ6mfst1oIJQ0ULQVAOdzuiiESRHkvsSEcTm RkPqvLybafPHO4FS7lt+QynjvnpmoYAbxE75VpboKo1p9w== X-Virus-Scanned: amavisd-new at iro.umontreal.ca Original-Received: from mail01.iro.umontreal.ca ([127.0.0.1]) by mail01.iro.umontreal.ca (mail01.iro.umontreal.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZggXvfptgj2k for <34920@debbugs.gnu.org>; Wed, 20 Mar 2019 21:01:07 -0400 (EDT) Original-Received: from pastel (75-119-242-252.dsl.teksavvy.com [75.119.242.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C6F4380FD6A4; Wed, 20 Mar 2019 21:01:06 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Tue, 19 Mar 2019 22:54:10 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156557 Archived-At: >> 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
s here instead of s here, > since are "inline" while
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