diff options
| author | Lars Ingebrigtsen | 2016-02-20 18:01:52 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-20 18:03:37 +1100 |
| commit | 80852f843e69b81618f29cfb9aa4b074946cb3c4 (patch) | |
| tree | 23febac62f733f568afaf9ddec54ce3f7745b760 /etc | |
| parent | ad1951dbfb7e289553c25474efdfa02f83c16e71 (diff) | |
| download | emacs-80852f843e69b81618f29cfb9aa4b074946cb3c4.tar.gz emacs-80852f843e69b81618f29cfb9aa4b074946cb3c4.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -779,6 +779,13 @@ textual parts of a web page and display only that, leaving menus and | |||
| 779 | the like off the page. | 779 | the like off the page. |
| 780 | 780 | ||
| 781 | --- | 781 | --- |
| 782 | *** Images that are being loaded are now marked with grey | ||
| 783 | "placeholder" images of the size specified by the HTML. They are then | ||
| 784 | replaced by the real images asynchronously, which will also now | ||
| 785 | respect width/height HTML specs (unless they specify widths/heights | ||
| 786 | bigger than the current window). | ||
| 787 | |||
| 788 | --- | ||
| 782 | *** You can now use several eww buffers in parallel by renaming eww | 789 | *** You can now use several eww buffers in parallel by renaming eww |
| 783 | buffers you want to keep separate. | 790 | buffers you want to keep separate. |
| 784 | 791 | ||