| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <!-- | 3 <!-- |
| 4 This test verifies that a compositor-painted blur filter does not add fi
lter outsets to | 4 This test verifies that a compositor-painted blur filter does not add fi
lter outsets to |
| 5 the composited layer bounds. | 5 the composited layer bounds. |
| 6 | 6 |
| 7 Note: Some platforms' compositors may not be capable of computing their
own filter outsets | 7 Note: Some platforms' compositors may not be capable of computing their
own filter outsets |
| 8 yet, so they will need different expectations that include filter outset
s in the composited | 8 yet, so they will need different expectations that include filter outset
s in the composited |
| 9 layer bounds. | 9 layer bounds. |
| 10 --> | 10 --> |
| 11 <style> | 11 <style> |
| 12 #composited { | 12 #composited { |
| 13 background-color: green; | 13 background-color: green; |
| 14 -webkit-transform: translateZ(0); | 14 transform: translateZ(0); |
| 15 -webkit-filter: blur(25px); | 15 -webkit-filter: blur(25px); |
| 16 position: absolute; | 16 position: absolute; |
| 17 top: 100px; | 17 top: 100px; |
| 18 left: 100px; | 18 left: 100px; |
| 19 width: 100px; | 19 width: 100px; |
| 20 height: 100px; | 20 height: 100px; |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 </head> | 23 </head> |
| 24 <body> | 24 <body> |
| 25 <div id="composited"></div> | 25 <div id="composited"></div> |
| 26 <pre id="console"></pre> | 26 <pre id="console"></pre> |
| 27 <script> | 27 <script> |
| 28 if (window.testRunner) { | 28 if (window.testRunner) { |
| 29 testRunner.dumpAsText(); | 29 testRunner.dumpAsText(); |
| 30 document.getElementById("console").appendChild(document.createTextNo
de(window.internals.layerTreeAsText(document))); | 30 document.getElementById("console").appendChild(document.createTextNo
de(window.internals.layerTreeAsText(document))); |
| 31 } | 31 } |
| 32 </script> | 32 </script> |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |