Index: LayoutTests/svg/as-image/set-img-height.html |
diff --git a/LayoutTests/svg/as-image/set-img-height.html b/LayoutTests/svg/as-image/set-img-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..020186e16f1525613bd0b009d994c7eb9b167969 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/set-img-height.html |
@@ -0,0 +1,26 @@ |
+<!doctype html> |
+<style> |
+#scaleMe { |
+ width:100px; |
+ height:200px; |
+} |
+</style> |
+<body onload="runTest()"> |
+<script> |
+// Begin test async |
+if (window.testRunner) { |
+ testRunner.waitUntilDone() |
+} |
+ |
+function runTest() { |
+ setTimeout(function() { |
+ document.getElementById("scaleMe").style.height="100px"; |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
pdr.
2014/03/24 16:03:58
Indentation
|
+ }, 100); |
pdr.
2014/03/24 16:03:58
I know I sound like a broken record on these setTi
|
+} |
+</script> |
+<div> |
+ <img id="scaleMe" src="resources/default-profile.svg"/> |
+</div> |
+</body> |