summaryrefslogtreecommitdiffstats
path: root/layout/reftests/list-item/image-rendering-script.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/list-item/image-rendering-script.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/list-item/image-rendering-script.html')
-rw-r--r--layout/reftests/list-item/image-rendering-script.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/list-item/image-rendering-script.html b/layout/reftests/list-item/image-rendering-script.html
new file mode 100644
index 0000000000..fa7b4ddf7b
--- /dev/null
+++ b/layout/reftests/list-item/image-rendering-script.html
@@ -0,0 +1,37 @@
+<!DOCTYPE HTML>
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/licenses/publicdomain/
+ -->
+<html reftest-zoom="2" class="reftest-wait">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+ <title>test list-style-image image-rendering script change</title>
+ <style type="text/css">
+ div {
+ display: list-item;
+ list-style-image: url(data:image/gif;base64,R0lGODlhHAAcAMQAAAAAAP///8DP/8bU/8zZ/9Le/9jj/97o/+Tt/Ory9vD48PX96vv/5P//wP//xv//zP//0v//2P//3v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAABMALAAAAAAcABwAAAWNYCOOZGmeaKquYxSxcGMY8RoJwlujBk7vphsuByz1hr9iQzgkFiHHpkGXekQWCgOhyR0ODAiFhOoodM9oQcExKqffajbJDe+uT/Q67o7Kw/kpfmiAKkxpEjELdQoxCXUHMVFpBTEDXARmXDAOTQQMIgxbQ1QpQgMKciOhOJ8rC6epJq+MNrF9iEq5ug0hADs=);
+ height: 50px;
+ border: 1px solid black;
+ list-style-position: inside;
+
+ image-rendering: auto;
+ }
+ </style>
+ <script type="text/javascript">
+ document.addEventListener("MozReftestInvalidate", updateImageRendering);
+
+ function updateImageRendering() {
+ var div = document.getElementById("d1");
+ div.style.imageRendering = '-moz-crisp-edges';
+ document.documentElement.removeAttribute("class");
+ }
+ </script>
+ </head>
+
+ <body>
+ <div id="d1">
+ </div>
+ </body>
+
+</html>