Bug 997010 (Part 2) - Reftest for dynamic changes to the image-orientation property. r=dbaron
authorBoris Zbarsky <bzbarsky@mit.edu>
Wed, 16 Apr 2014 01:14:27 -0400
changeset 191334 13ac876b043985ef0b74c945637df759c45bf48a
parent 191333 6c4efae1bab3b42ba8d747a332890cb311661918
child 191335 32dde3c7eabb30c0be3ed7ac6426a8458a4781dc
push id27041
push userphilringnalda@gmail.com
push dateSun, 29 Jun 2014 00:39:21 +0000
treeherdermozilla-central@afa67a2f7905 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs997010
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 997010 (Part 2) - Reftest for dynamic changes to the image-orientation property. r=dbaron
layout/reftests/image/image-orientation-dynamic-ref.html
layout/reftests/image/image-orientation-dynamic.html
layout/reftests/image/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/image/image-orientation-dynamic-ref.html
@@ -0,0 +1,2 @@
+<!DOCTYPE html>
+<img src="big.png" style="image-orientation: 90deg">
new file mode 100644
--- /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>
--- a/layout/reftests/image/reftest.list
+++ b/layout/reftests/image/reftest.list
@@ -86,8 +86,9 @@ fuzzy(1,1) == image-orientation-backgrou
 != image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?270
 != image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?180
 != image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?270
 != image-orientation-generated-content-ref.html?180  image-orientation-generated-content-ref.html?270
 != image-orientation-generated-content-ref.html?0    image-orientation-generated-content-ref.html?0&flip
 != image-orientation-generated-content-ref.html?90   image-orientation-generated-content-ref.html?90&flip
 != image-orientation-generated-content-ref.html?180  image-orientation-generated-content-ref.html?180&flip
 != image-orientation-generated-content-ref.html?270  image-orientation-generated-content-ref.html?270&flip
+== image-orientation-dynamic.html image-orientation-dynamic-ref.html