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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dynamic-updates/script-tests/SVGFEBlendElement-dom-in2-attr.js

Issue 2004023002: Fix typo in svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reference bug in TE Created 4 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
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // [Name] SVGFEBlendElement-dom-in2-attr.js 1 // [Name] SVGFEBlendElement-dom-in2-attr.js
2 // [Expected rendering result] Seven blended rectangles in a gradient - and a se ries of PASS messages 2 // [Expected rendering result] Seven blended rectangles in a gradient - and a se ries of PASS messages
3 3
4 description("Tests dynamic updates of the 'in' attribute of the SVGFEBlendElemen t object") 4 description("Tests dynamic updates of the 'in' attribute of the SVGFEBlendElemen t object")
5 createSVGTestCase(); 5 createSVGTestCase();
6 6
7 var backgroundImage = createSVGElement("image"); 7 var backgroundImage = createSVGElement("image");
8 backgroundImage.setAttribute("x", "35"); 8 backgroundImage.setAttribute("x", "35");
9 backgroundImage.setAttribute("y", "5"); 9 backgroundImage.setAttribute("y", "5");
10 backgroundImage.setAttribute("width", "220"); 10 backgroundImage.setAttribute("width", "220");
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 screenRectElement.setAttribute("filter", "url(#screenFilter)"); 180 screenRectElement.setAttribute("filter", "url(#screenFilter)");
181 rootSVGElement.appendChild(screenRectElement); 181 rootSVGElement.appendChild(screenRectElement);
182 182
183 var darkenRectElement = createSVGElement("rect"); 183 var darkenRectElement = createSVGElement("rect");
184 darkenRectElement.setAttribute("x", "25"); 184 darkenRectElement.setAttribute("x", "25");
185 darkenRectElement.setAttribute("y", "125"); 185 darkenRectElement.setAttribute("y", "125");
186 darkenRectElement.setAttribute("width", "240"); 186 darkenRectElement.setAttribute("width", "240");
187 darkenRectElement.setAttribute("height", "20"); 187 darkenRectElement.setAttribute("height", "20");
188 darkenRectElement.setAttribute("fill", "blue"); 188 darkenRectElement.setAttribute("fill", "blue");
189 darkenRectElement.setAttribute("opacity", "0.5"); 189 darkenRectElement.setAttribute("opacity", "0.5");
190 darkenRectElement.setAttribute("filter", "url(darkenFilter)"); 190 darkenRectElement.setAttribute("filter", "url(#darkenFilter)");
191 rootSVGElement.appendChild(darkenRectElement); 191 rootSVGElement.appendChild(darkenRectElement);
192 192
193 var lightenRectElement = createSVGElement("rect"); 193 var lightenRectElement = createSVGElement("rect");
194 lightenRectElement.setAttribute("x", "25"); 194 lightenRectElement.setAttribute("x", "25");
195 lightenRectElement.setAttribute("y", "148"); 195 lightenRectElement.setAttribute("y", "148");
196 lightenRectElement.setAttribute("width", "240"); 196 lightenRectElement.setAttribute("width", "240");
197 lightenRectElement.setAttribute("height", "20"); 197 lightenRectElement.setAttribute("height", "20");
198 lightenRectElement.setAttribute("fill", "blue"); 198 lightenRectElement.setAttribute("fill", "blue");
199 lightenRectElement.setAttribute("opacity", "0.5"); 199 lightenRectElement.setAttribute("opacity", "0.5");
200 lightenRectElement.setAttribute("filter", "url(#lightenFilter)"); 200 lightenRectElement.setAttribute("filter", "url(#lightenFilter)");
(...skipping 18 matching lines...) Expand all
219 lightenBlend.setAttribute("in2", "lightenImg"); 219 lightenBlend.setAttribute("in2", "lightenImg");
220 220
221 shouldBeEqualToString("normalBlend.getAttribute('in2')", "normalImg"); 221 shouldBeEqualToString("normalBlend.getAttribute('in2')", "normalImg");
222 shouldBeEqualToString("multiplyBlend.getAttribute('in2')", "multiplyImg"); 222 shouldBeEqualToString("multiplyBlend.getAttribute('in2')", "multiplyImg");
223 shouldBeEqualToString("screenBlend.getAttribute('in2')", "screenImg"); 223 shouldBeEqualToString("screenBlend.getAttribute('in2')", "screenImg");
224 shouldBeEqualToString("darkenBlend.getAttribute('in2')", "darkenImg"); 224 shouldBeEqualToString("darkenBlend.getAttribute('in2')", "darkenImg");
225 shouldBeEqualToString("lightenBlend.getAttribute('in2')", "lightenImg"); 225 shouldBeEqualToString("lightenBlend.getAttribute('in2')", "lightenImg");
226 } 226 }
227 227
228 var successfullyParsed = true; 228 var successfullyParsed = true;
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698