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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html

Issue 1361413004: Fix directly composited image path for CSS image-orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 5 years, 2 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: third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited.html b/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html
similarity index 92%
copy from third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited.html
copy to third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html
index f49f5d67c363371253a6cde70a766e2f6e3d2530..78f29de26d9b81c9435f443506def20573b0b593 100644
--- a/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited.html
+++ b/third_party/WebKit/LayoutTests/fast/css/image-orientation/image-orientation-from-image-composited-dynamic.html
@@ -19,14 +19,16 @@ function imageSize(el) {
function load() {
- for (var i = 1; i <= 9; i++)
+ for (var i = 1; i <= 9; i++) {
+ document.getElementById("img" + i).style.imageOrientation = "from-image";
log("img" + i + " size = " + imageSize(document.getElementById("img" + i)))
+ }
}
</script>
<style>
body { overflow: hidden; }
-img { transform: translateZ(0); image-orientation: from-image; }
+img { transform: translateZ(0); }
div { display: inline-block; margin-right: 20px; margin-bottom: 10px; width: 100px; vertical-align: top; }
</style>
</head>

Powered by Google App Engine
This is Rietveld 408576698