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

Side by Side Diff: LayoutTests/svg/custom/non-scaling-stroke-update.svg

Issue 183703003: Remove more testRunner.display() calls from LayoutTests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Ditch fast/text/font-initial changes too Created 6 years, 9 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
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
2 <!-- Test for crbug.com/250001 --> 2 <!-- Test for crbug.com/250001 -->
3 <g transform="scale(4)"> 3 <g transform="scale(4)">
4 <rect id="clear_rect" width="100%" height="100%"/> 4 <rect id="clear_rect" width="100%" height="100%"/>
5 <rect id="rect" x="25" y="25" width="25" height="25" fill="green" stroke-wid th="1" stroke="black"/> 5 <rect id="rect" x="25" y="25" width="25" height="25" fill="green" stroke-wid th="1" stroke="black"/>
6 </g> 6 </g>
7 7
8 <script> 8 <script>
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.display();
11 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 }
12 window.requestAnimationFrame(function() {
12 setTimeout(runTest, 0); 13 setTimeout(runTest, 0);
13 } else { 14 });
14 setTimeout(runTest, 200);
15 }
16 15
17 function runTest() { 16 function runTest() {
18 » document.getElementById('clear_rect').setAttribute('fill', 'white'); 17 document.getElementById('clear_rect').setAttribute('fill', 'white');
19 » document.getElementById('rect').setAttribute('vector-effect', 'non-scali ng-stroke'); 18 document.getElementById('rect').setAttribute('vector-effect', 'non-scali ng-stroke');
20 » if (window.testRunner) 19 if (window.testRunner)
21 » testRunner.notifyDone(); 20 testRunner.notifyDone();
22 } 21 }
23 </script> 22 </script>
24 </svg> 23 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/scrollbars/scrollbar-percent-padding-crash.html ('k') | LayoutTests/svg/custom/stale-resource-data-crash.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698