(ert-deftest shr-test/zoom-image ()
"Test that `shr-zoom-image' properly replaces the original image."
- (skip-unless (bound-and-true-p image-types))
- (skip-unless (libxml-available-p))
+ (skip-unless (and (bound-and-true-p image-types)
+ (image-type-available-p 'png)
+ (fboundp 'libxml-parse-html-region)))
(let* ((image (expand-file-name "data/image/blank-100x200.png"
(getenv "EMACS_TEST_DIRECTORY")))
(image-url (concat "file://" (if (string-prefix-p "/" image)