bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34920: 27.0.50; Poor eww rendering of SourceHut file "trees"


From: Stefan Monnier
Subject: bug#34920: 27.0.50; Poor eww rendering of SourceHut file "trees"
Date: Wed, 20 Mar 2019 21:01:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]