summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/image-orientation-dynamic.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/image/image-orientation-dynamic.html')
-rw-r--r--layout/reftests/image/image-orientation-dynamic.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layout/reftests/image/image-orientation-dynamic.html b/layout/reftests/image/image-orientation-dynamic.html
new file mode 100644
index 000000000..f58cb600d
--- /dev/null
+++ b/layout/reftests/image/image-orientation-dynamic.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <img src="big.png">
+ <script>
+ document.addEventListener("MozReftestInvalidate", function() {
+ document.querySelector("img").style.imageOrientation = "90deg";
+ document.documentElement.className = "";
+ });
+ </script>
+</html>