| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <!-- | 2 <!-- |
| 3 This tests verifies that blur is repainted using the full source image of th
e element instead of just the dirty area. | 3 This tests verifies that blur is repainted using the full source image of th
e element instead of just the dirty area. |
| 4 Also it tests that the clipping or the transform rectangle of the box is not
affecting the shadow. | 4 Also it tests that the clipping or the transform rectangle of the box is not
affecting the shadow. |
| 5 There should be two boxes on the screen: left one should be green and right
one should be green, and both have the same size. | 5 There should be two boxes on the screen: left one should be green and right
one should be green, and both have the same size. |
| 6 No red should be visible. | 6 No red should be visible. |
| 7 --> | 7 --> |
| 8 <html> | 8 <html> |
| 9 <head> | 9 <head> |
| 10 <style> | 10 <style> |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 .blur { | 33 .blur { |
| 34 -webkit-filter: drop-shadow(0px -100px 0px blue); | 34 -webkit-filter: drop-shadow(0px -100px 0px blue); |
| 35 -webkit-transform-origin: 50px 50px; | 35 -webkit-transform-origin: 50px 50px; |
| 36 -webkit-transform: rotate(90deg); | 36 -webkit-transform: rotate(90deg); |
| 37 } | 37 } |
| 38 </style> | 38 </style> |
| 39 | 39 |
| 40 <script src="../../fast/repaint/resources/repaint.js"></script> | 40 <script src="../../fast/repaint/resources/repaint.js"></script> |
| 41 <script> | 41 <script> |
| 42 if (window.testRunner) | 42 if (window.testRunner) |
| 43 testRunner.dumpAsText(true); | 43 testRunner.dumpAsTextWithPixelResults(); |
| 44 | 44 |
| 45 function repaintTest() | 45 function repaintTest() |
| 46 { | 46 { |
| 47 document.querySelector(".before").classList.remove("before"); | 47 document.querySelector(".before").classList.remove("before"); |
| 48 } | 48 } |
| 49 </script> | 49 </script> |
| 50 </head> | 50 </head> |
| 51 | 51 |
| 52 <body onload="runRepaintTest()"> | 52 <body onload="runRepaintTest()"> |
| 53 | 53 |
| 54 <div class="clipping_box"> | 54 <div class="clipping_box"> |
| 55 <div class="blur"> | 55 <div class="blur"> |
| 56 <div class="empty_box"></div> | 56 <div class="empty_box"></div> |
| 57 <div class="box before"></div> | 57 <div class="box before"></div> |
| 58 </div> | 58 </div> |
| 59 </div> | 59 </div> |
| 60 </body> | 60 </body> |
| 61 </html> | 61 </html> |
| OLD | NEW |