On 2015-08-19 23:40, Johannes Hofmann wrote:
On Wed, Aug 19, 2015 at 09:58:51PM +0200, August Karlstrom wrote:
On 2015-08-19 17:32, Johannes Hofmann wrote:
as it was mentioned in this thread already the image scaling issue is fixed for quite some time in the main line of the dillo repo.
I have downloaded and installed the latest Dillo version 3.1-dev. With the test file below the two images have the same size despite setting width to 25 percent on the second image. Do you get the same result?
yes, I get the same result. Interestingly it works ok without the enclosing <div>
If anyone running Dillo 3.0.4 is interested I have made a patch which fixes the image scaling issue (see attachment). With the test document below, the Dillo logo should keep its aspect ratio when the Dillo browser window is resized. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Test</title> </head> <body> <div><img src="http://www.dillo.org/db1.png" alt="Dillo logo" width="50%" /></div> </body> </html> -- August