diff options
author | Andrew Dolgov <[email protected]> | 2022-07-31 09:15:00 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-07-31 09:15:00 +0300 |
commit | 7187ab859db71fd706a6ea67587b21ad0fe588df (patch) | |
tree | 0c36632720ec06fb18dd999132fffdb55284fb8c /plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3 | |
parent | 4aefbd628e9a0e1eac58523904ad887b0635cda3 (diff) |
fork masterminds html5-php
Diffstat (limited to 'plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3')
4 files changed, 41 insertions, 0 deletions
diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-images.json b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-images.json new file mode 100644 index 000000000..140777678 --- /dev/null +++ b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-images.json @@ -0,0 +1,4 @@ +[ + "https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.jpg", + "https:\/\/p3-juejin.byteimg.com\/tos-cn-i-k3u1fbpfcp\/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.png" +]
\ No newline at end of file diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-metadata.json b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-metadata.json new file mode 100644 index 000000000..60bd1f2db --- /dev/null +++ b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected-metadata.json @@ -0,0 +1,8 @@ +{ + "Author": null, + "Direction": null, + "Excerpt": null, + "Image": null, + "Title": "Lazy Load with Alt includes jpg\/png\/webp extensions", + "SiteName": null +}
\ No newline at end of file diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected.html b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected.html new file mode 100644 index 000000000..9016e8583 --- /dev/null +++ b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/expected.html @@ -0,0 +1,8 @@ +<div> + <article> + <h2>Test Case 1</h2> + <img data-src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.jpg" alt="performance.jpg" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.jpg"> + <h2>Test Case 2</h2> + <img data-src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.png" alt="performance.jpg" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.png"> + </article> +</div>
\ No newline at end of file diff --git a/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/source.html b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/source.html new file mode 100644 index 000000000..b4a3df858 --- /dev/null +++ b/plugins/af_readability/vendor/fivefilters/readability.php/test/test-pages/lazy-image-3/source.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"/> + <title>Lazy Load with Alt includes jpg/png/webp extensions</title> +</head> +<body> + <article class="markdown-body"> + <h2>Test Case 1</h2> + <img class="lazyload inited loaded" + data-src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.jpg" + alt="performance.jpg" + /> + <h2>Test Case 2</h2> + <img class="lazyload inited loaded" + data-src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0579d17015b145a88dd93992c6447d7d~tplv-k3u1fbpfcp-watermark.png" + alt="performance.jpg" + /> + </article> +</body> +</html>
\ No newline at end of file |