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

Side by Side Diff: LayoutTests/svg/as-image/set-img-height.html

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
Patch Set: Created 6 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3 #scaleMe {
4 width:100px;
5 height:200px;
6 }
7 </style>
8 <body onload="runTest()">
9 <script>
10 // Begin test async
11 if (window.testRunner) {
12 testRunner.waitUntilDone()
13 }
14
15 function runTest() {
16 setTimeout(function() {
17 document.getElementById("scaleMe").style.height="100px";
18 if (window.testRunner)
19 testRunner.notifyDone();
pdr. 2014/03/24 16:03:58 Indentation
20 }, 100);
pdr. 2014/03/24 16:03:58 I know I sound like a broken record on these setTi
21 }
22 </script>
23 <div>
24 <img id="scaleMe" src="resources/default-profile.svg"/>
25 </div>
26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698