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

Side by Side Diff: LayoutTests/svg/as-image/image-change-with-equal-sizes-expected.html

Issue 23890043: Update image content rect on src changes even if intrinsic size matches (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <body>
4 crbug.com/269946: This test passes if there are two green squares with the sam e sizes.<br/>
5 <img id="image1" width="100px" height="100px">
6 <img id="image2" width="100px" height="100px">
7
8 <script>
9 var greenSquare = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmN vZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9 yZy8yMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPg0KICA8cmVjdCB3aWR0aD0iMTAwJSI gaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmVlbiIvPg0KPC9zdmc+DQo=';
10 document.getElementById('image1').src = greenSquare;
11 document.getElementById('image2').src = greenSquare;
12 </script>
13 </body>
14 </html>
15
OLDNEW
« no previous file with comments | « LayoutTests/svg/as-image/image-change-with-equal-sizes.html ('k') | LayoutTests/svg/as-image/resources/200x200-blue-rect.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698