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

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: Address even more review comments Created 5 years, 6 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..0d2066c4ad8d26089599e61f49311a0a35ee1e59
--- /dev/null
+++ b/LayoutTests/fast/css/image-orientation/image-orientation-dynamic.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<script>
+function runTest() {
+ document.querySelector("img").style.imageOrientation = "from-image";
+ document.documentElement.className = "";
Noel Gordon 2015/06/19 07:41:24 document.documentElement.className ... not needed
rwlbuis 2015/06/19 16:03:15 Done.
+}
+
+</script>
+<style>
Noel Gordon 2015/06/19 07:41:24 remove style tags.
rwlbuis 2015/06/19 16:03:15 Done.
+</style>
+</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