aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJim Porter2024-06-23 12:18:57 -0700
committerJim Porter2024-07-04 12:14:37 -0700
commit3ce7e4ee3f1f8bf85c2c455ac624bec6c7cd10a8 (patch)
treeadad05d70f7de8eed8676aa09500b77b87d5d557 /doc
parentfa6f088a483f1f2e19863800c6215a8136288b8f (diff)
downloademacs-3ce7e4ee3f1f8bf85c2c455ac624bec6c7cd10a8.tar.gz
emacs-3ce7e4ee3f1f8bf85c2c455ac624bec6c7cd10a8.zip
Slice images based on their height in SHR, not their zoom level
* lisp/net/shr.el (shr-sliced-image-height): New option... (shr-put-image): ... use it. Compute the number of slices in relation to the image height; this way, each slice is roughly the height of a line of ordinary text. * test/lisp/net/shr-tests.el (shr-test/zoom-image): Update test, since zooming no longer necessarily triggers slicing. * doc/misc/eww.texi (Advanced): Document 'shr-sliced-image-proportion'. * etc/NEWS: Announce this change.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/eww.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/misc/eww.texi b/doc/misc/eww.texi
index eec6b3c3299..e0c6b7d610b 100644
--- a/doc/misc/eww.texi
+++ b/doc/misc/eww.texi
@@ -373,6 +373,15 @@ customizing @code{shr-blocked-images}.
373@code{shr-inhibit-images}. If this variable is @code{nil}, display 373@code{shr-inhibit-images}. If this variable is @code{nil}, display
374the ``ALT'' text of images instead. 374the ``ALT'' text of images instead.
375 375
376@vindex shr-sliced-image-height
377 To make scrolling up/down past images more intuititve, EWW splits
378large images into several rows. This way, you can scroll individually
379past each slice, instead of jumping past the entire image. EWW slices
380images that take up more than @code{shr-sliced-image-height} of the
381height of the window they are displayed in. For example, a value of 0.7
382means that images are allowed to take up 70% of the height of the window
383before being sliced.
384
376@vindex shr-color-visible-distance-min 385@vindex shr-color-visible-distance-min
377@vindex shr-color-visible-luminance-min 386@vindex shr-color-visible-luminance-min
378@cindex Contrast 387@cindex Contrast