diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-06-23 12:25:25 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-07-04 12:14:37 -0700 |
commit | 6d082f3c79269f00308d6e8b7d31d6a119376fe2 (patch) | |
tree | 29cbb23773a685de02ea81ae4e4f1277cda3fa22 /lisp/emacs-lisp/lisp.el | |
parent | 3ce7e4ee3f1f8bf85c2c455ac624bec6c7cd10a8 (diff) | |
download | emacs-6d082f3c79269f00308d6e8b7d31d6a119376fe2.tar.gz emacs-6d082f3c79269f00308d6e8b7d31d6a119376fe2.tar.bz2 emacs-6d082f3c79269f00308d6e8b7d31d6a119376fe2.zip |
In SHR, keep track of image sizes as specified by the HTML
Previously, these values got lost when zooming the image.
* lisp/net/shr.el (shr-tag-img): Set 'image-dom-size'...
(shr-zoom-image): ... use it. Rename 'size' to 'zoom'.
(shr-image-fetched): Rename 'image-size' to 'image-zoom'.
(shr-put-image): Accept the zoom level as ':zoom' and document it.
Previously, FLAGS was a mix of alist and plist(!).
* test/lisp/net/shr-tests.el (shr-test/zoom-image): Rename "size" to
"zoom".
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions