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

Side by Side Diff: LayoutTests/svg/custom/resources-svgdom-invalidation-crash.svg

Issue 1153403003: Remove SVGFilterElement's filterRes* attributes and setFilterRes() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase + updated smallFonts.svg and textFeatures.svg Created 5 years, 6 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 http://crbug.com/311548 --> 2 <!-- Test for http://crbug.com/311548 -->
3 <g> 3 <g>
4 <rect width="100" height="100" fill="green" filter="url(#filter)"/> 4 <rect width="100" height="100" fill="green" filter="url(#filter)"/>
5 </g> 5 </g>
6 6
7 <defs> 7 <defs>
8 <filter id="filter" filterUnits="userSpaceOnUse" x="0" y="0" width="100" hei ght="100" filterRes="400"> 8 <filter id="filter" filterUnits="userSpaceOnUse" x="0" y="0" width="100" hei ght="100" filterRes="400">
9 <feOffset/> 9 <feOffset/>
10 </filter> 10 </filter>
11 </defs> 11 </defs>
12 12
13 <text>PASS: did not crash.</text> 13 <text>PASS: did not crash.</text>
14 14
15 <script> 15 <script>
16 if (window.testRunner) 16 if (window.testRunner)
17 testRunner.dumpAsText(); 17 testRunner.dumpAsText();
18 18
19 setTimeout(function() { 19 setTimeout(function() {
20 document.getElementById('filter').setFilterRes(100, 100); 20 document.getElementById('filter').setAttribute('width', 99);
21 }, 0); 21 }, 0);
22 </script> 22 </script>
23 </svg> 23 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698