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

Side by Side Diff: LayoutTests/css3/filters/filter-effect-removed.html

Issue 1214673005: Check for empty WebFilterOperations in FilterPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: isEmpty instead of size 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
« no previous file with comments | « no previous file | LayoutTests/css3/filters/filter-effect-removed-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
3 <defs id="svgDefs" style="display:none">
4 <filter id="blurY" color-interpolation-filters="sRGB">
5 <feGaussianBlur id="blurEffect" stdDeviation="0 5">
6 </feGaussianBlur>
7 </filter>
8 </defs>
9 </svg>
10
11 <script>
12 onload = function() {
13 // Render one frame with the blur effect, then remove it.
14 window.requestAnimationFrame(function() {
15 window.requestAnimationFrame(function() {
16 var filterElement = document.getElementById("blurY");
17 var filterEffectElement = document.getElementById("blurEffect");
18 filterElement.removeChild(filterEffectElement);
19
20 // Ensure we draw a frame.
21 document.getElementById("other").style.backgroundColor = "blue";
22
23 if (window.testRunner)
24 testRunner.notifyDone();
25 });
26 });
27
28 }
29
30 if (window.testRunner)
31 testRunner.waitUntilDone();
32 </script>
33
34 <img src="resources/reference.png" style="-webkit-filter: url(#blurY); filter: u rl(#blurY);">
35
36 <div id="other" style="width: 10px; height: 10px"></div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/filters/filter-effect-removed-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698