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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/in-html/overflow-repaint.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="t ext/javascript"></script> 3 » <script src="../../fast/repaint/resources/repaint.js" type="text/javascr ipt"></script>
4 <script> 4 <script>
5 window.outputRepaintRects = false; 5 window.outputRepaintRects = false;
6 function repaintTest() { 6 function repaintTest() {
7 document.getElementById("svg").style.overflow="visible"; 7 document.getElementById("svg").style.overflow="visible";
8 } 8 }
9 </script> 9 </script>
10 <style> 10 <style>
11 div { 11 div {
12 height:100px; width:100px; 12 height:100px; width:100px;
13 } 13 }
14 div + div { background: red; } 14 div + div { background: red; }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body onload="runRepaintAndPixelTest()"> 17 <body onload="runRepaintTest()">
18 <div> 18 <div>
19 <svg id="svg" height="100" width="100" viewbox="0 0 100 100"> 19 <svg id="svg" height="100" width="100" viewbox="0 0 100 100">
20 <rect y="100" width="100" height="100" fill="green"/> 20 <rect y="100" width="100" height="100" fill="green"/>
21 </svg> 21 </svg>
22 </div> 22 </div>
23 <div></div> 23 <div></div>
24 </body> 24 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698