Chromium Code Reviews| 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) { |
|
Noel Gordon
2015/09/30 12:02:54
Thanks for the new test, Rob. I looked at the res
|
| 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> |