Index: LayoutTests/svg/as-image/image-change-with-equal-sizes-expected.html |
diff --git a/LayoutTests/svg/as-image/image-change-with-equal-sizes-expected.html b/LayoutTests/svg/as-image/image-change-with-equal-sizes-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..92a03b8eab3faf772f9bb1fd4d7e7c62d59b2af2 |
--- /dev/null |
+++ b/LayoutTests/svg/as-image/image-change-with-equal-sizes-expected.html |
@@ -0,0 +1,15 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<body> |
+ crbug.com/269946: This test passes if there are two green squares with the same sizes.<br/> |
+ <img id="image1" width="100px" height="100px"> |
+ <img id="image2" width="100px" height="100px"> |
+ |
+ <script> |
+ var greenSquare = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiPg0KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJncmVlbiIvPg0KPC9zdmc+DQo='; |
+ document.getElementById('image1').src = greenSquare; |
+ document.getElementById('image2').src = greenSquare; |
+ </script> |
+</body> |
+</html> |
+ |