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

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

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
1 <!doctype html> 1 <!doctype html>
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ javascript"></script> 3 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript" ></script>
4 <style> 4 <style>
5 #scaleMe { 5 #scaleMe {
6 width:100px; 6 width:100px;
7 height:200px; 7 height:200px;
8 background: yellow; 8 background: yellow;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body onload="runRepaintAndPixelTest()"> 12 <body onload="runRepaintTest()">
13 <script> 13 <script>
14 window.outputRepaintRects = false; 14 window.outputRepaintRects = false;
15 function repaintTest() { 15 function repaintTest() {
16 document.getElementById("scaleMe").style.height="100px"; 16 document.getElementById("scaleMe").style.height="100px";
17 } 17 }
18 </script> 18 </script>
19 <div> 19 <div>
20 <img id="scaleMe" src="resources/circle-200px-none.svg"> 20 <img id="scaleMe" src="resources/circle-200px-none.svg">
21 </div> 21 </div>
22 </body> 22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698