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

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: use runRepaintAndPixelTest Created 6 years, 8 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 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ javascript"></script>
4 <style>
5 #scaleMe {
6 width:100px;
7 height:200px;
8 background: yellow;
9 }
10 </style>
11 </head>
12 <body onload="runRepaintAndPixelTest()">
13 <script>
14 function repaintTest() {
15 document.getElementById("scaleMe").style.height="100px";
16 }
17 </script>
18 <div>
19 <img id="scaleMe" src="resources/circle-200px-none.svg">
20 </div>
21 </body>
OLDNEW
« no previous file with comments | « LayoutTests/svg/as-image/resources/circle-200px-none.svg ('k') | LayoutTests/svg/as-image/set-img-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698