Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html

Issue 1162793003: Add CSS image-orientation: from-image (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add converter Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html
diff --git a/LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html b/LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html
new file mode 100644
index 0000000000000000000000000000000000000000..762b75976f2bf7cbaa94f66608dfc45b48f70bf5
--- /dev/null
+++ b/LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+<script>
+function runTest() {
+ document.querySelector("img").style.imageOrientation = "from-image";
+}
+
+</script>
+</head>
+<body onload="runTest()">
+<img id="img1" src="../../images/resources/exif-orientation-6-ru.jpg"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698