Re: Weirdly scaled images (again)

August Karlstrom <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On 2015-08-19 00:45, Jorge Arellano Cid wrote:
> On Mon, Aug 17, 2015 at 09:35:09PM +0200, August Karlstrom wrote:
>> I have posted the question on Stack Overflow:
>>
>> http://stackoverflow.com/questions/31773161/specifying-only-width-or-height-for-an-img-element
>
>    FWIW, IMHO, it should scale respecting the original image ratio
> (just pragmatics).
>
>    AFAIR, it was/could-be done this way by dillo (using CSS hints) but
> somewhere in the redesign (GROWS) these image-size hints were lost.
> @Sebastian, @Johannes, please correct me if I'm wrong here.

After a little experimentation it seems like the image ratio is 
respected when width or height is set in pixels but not when a 
percentage is used, for instance

	<img alt="Some image" src="some-image.jpg" width="25%" />

I use Dillo version 3.0.4 in Debian Jessie (stable).


-- August
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.