]> code.delx.au - gnu-emacs/commit
Use placeholder images in shr to avoid text moving around
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2016 07:01:52 +0000 (18:01 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 20 Feb 2016 07:03:37 +0000 (18:03 +1100)
commit80852f843e69b81618f29cfb9aa4b074946cb3c4
tree23febac62f733f568afaf9ddec54ce3f7745b760
parentad1951dbfb7e289553c25474efdfa02f83c16e71
Use placeholder images in shr to avoid text moving around

* lisp/net/shr.el (shr-rescale-image): Pass in width/height
from the HTML.
(shr-tag-img): Ditto.
(shr-string-number): New function.
(shr-make-placeholder-image): Make placeholder images.
(shr-tag-img): Insert them if we have SVG support.
etc/NEWS
lisp/net/shr.el