| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!DOCTYPE html> | 
|  | 2 <html> | 
|  | 3   <head> | 
|  | 4     <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 
|  | 5     <script> | 
|  | 6       if (window.testRunner) { | 
|  | 7         testRunner.dumpAsText(false); | 
|  | 8         testRunner.display(); | 
|  | 9       } | 
|  | 10 | 
|  | 11       function repaintTest() | 
|  | 12       { | 
|  | 13         var things = document.getElementsByClassName("before"); | 
|  | 14         while (things.length) | 
|  | 15           things[0].classList.remove("before"); | 
|  | 16       } | 
|  | 17     </script> | 
|  | 18     <style> | 
|  | 19       .box { | 
|  | 20         width: 200px; | 
|  | 21         height: 200px; | 
|  | 22         margin: 50px; | 
|  | 23         background-color: green; | 
|  | 24         -webkit-filter: url(#blur); | 
|  | 25         filter: url(#blur); | 
|  | 26       } | 
|  | 27       .before { | 
|  | 28         background-color: red; | 
|  | 29       } | 
|  | 30     </style> | 
|  | 31   </head> | 
|  | 32   <body onload="runRepaintTest()"> | 
|  | 33     <div class="box before"></div> | 
|  | 34     <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1"> | 
|  | 35       <defs> | 
|  | 36         <filter id="blur"> | 
|  | 37           <feGaussianBlur stdDeviation="20 0"/> | 
|  | 38         </filter> | 
|  | 39       </defs> | 
|  | 40     </svg> | 
|  | 41   </body> | 
|  | 42 </html> | 
| OLD | NEW | 
|---|