[PATCH] Making <img style="max-width: 100px" /> work
Luís Pedro Coelho
luis at luispedro.org
Wed Aug 17 23:47:04 BST 2005
Hi,
The attached patch [against 3.5 branch] makes something like
<img src="img.jpeg" style="max-width: 100px" />
work by scaling the height proportionally.
ok to commit?
btw, I am working on making "max-width: 100%" work for images, but I can't
figure it out. Can someone point me in the right direction?
thanks,
--
luispedro
http://blog.luispedro.org/
http://luispedro.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: render-image.patch
Type: text/x-diff
Size: 1215 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050817/448e057e/attachment.patch>
More information about the kfm-devel
mailing list