 Chromium Code Reviews
 Chromium Code Reviews Issue 210083003:
  [svg] in img element doesn't render correctly when height is changed dynamically.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 210083003:
  [svg] in img element doesn't render correctly when height is changed dynamically.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| 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> |