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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/resource-client-removal.svg

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 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink=" http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()"> 1 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink=" http://www.w3.org/1999/xlink" onload="runRepaintTest()">
2 <script xlink:href="../../resources/run-after-layout-and-paint.js"/> 2 <script xlink:href="../../resources/run-after-layout-and-paint.js"/>
3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> 3 <script xlink:href="../../fast/repaint/resources/repaint.js"/>
4 <script> 4 <script>
5 <![CDATA[ 5 <![CDATA[
6 window.testIsAsync = true; 6 window.testIsAsync = true;
7 function repaintTest() { 7 function repaintTest() {
8 container = document.getElementById("inneruse"); 8 container = document.getElementById("inneruse");
9 stop = document.getElementById("offset"); 9 stop = document.getElementById("offset");
10 runAfterLayoutAndPaint(offset); 10 runAfterLayoutAndPaint(offset);
11 } 11 }
12 var turns = 5; 12 var turns = 5;
13 function offset(){ 13 function offset(){
(...skipping 12 matching lines...) Expand all
26 <stop offset="0" style="stop-color: green"/> 26 <stop offset="0" style="stop-color: green"/>
27 <stop id="offset" offset="1" style="stop-color: green"/> 27 <stop id="offset" offset="1" style="stop-color: green"/>
28 </linearGradient> 28 </linearGradient>
29 <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" /> 29 <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" />
30 </defs> 30 </defs>
31 <g id="inneruse"> 31 <g id="inneruse">
32 <use xlink:href="#hp" style="fill:url(#grad)"/> 32 <use xlink:href="#hp" style="fill:url(#grad)"/>
33 </g> 33 </g>
34 <use xlink:href="#inneruse" style="fill:url(#grad)"/> 34 <use xlink:href="#inneruse" style="fill:url(#grad)"/>
35 </svg> 35 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698