Re: Weirdly scaled images (again)

August Karlstrom <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On 2015-07-28 17:34, August Karlstrom wrote:
> Changing the aspect ratio of an image is something you almost never
> want do do, and changing the aspect ratio of a photo is a big no-no.
> What's your view on this? Do you use Dillo with CSS disabled?
> Actually, I think it would be better if image scaling was not
> implemented at all, rather than broken like this.

Apparently some (or most?) browsers, Firefox for instance, do uniform 
scaling when only one of the width or height attribute is set on an img 
element. Dillo does non-uniform scaling and changes only the specified 
dimension. Here is what the reference has to say about it:

"When the object is an image, it is scaled. User agents should do their 
best to scale an object or image to match the width and height specified 
by the author."

http://www.w3.org/TR/html401/struct/objects.html#edef-IMG

It seems to be a question of interpretation.


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