| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 #shadowBox { | 4 #shadowBox { |
| 5 -webkit-background-clip: text; | 5 -webkit-background-clip: text; |
| 6 -webkit-box-shadow: 0 100px #f00; | 6 -webkit-box-shadow: 0 100px #f00; |
| 7 width: 100px; height: 100px; | 7 width: 100px; height: 100px; |
| 8 } | 8 } |
| 9 #greenBox { | 9 #greenBox { |
| 10 font-size: 100px; | 10 font-size: 100px; |
| 11 background-color: #0f0; | 11 background-color: #0f0; |
| 12 width: 100px; height: 100px; | 12 width: 100px; height: 100px; |
| 13 } | 13 } |
| 14 </style> | 14 </style> |
| 15 </head> | 15 </head> |
| 16 <body> | 16 <body> |
| 17 | 17 |
| 18 <!-- Try select/deselect the space in the green box below. You should not see re
d. --> | 18 <!-- Try select/deselect the space in the green box below. You should not see re
d. --> |
| 19 <div id="shadowBox"></div> | 19 <div id="shadowBox"></div> |
| 20 <div id="greenBox" > </div> | 20 <div id="greenBox" > </div> |
| 21 | 21 |
| 22 <script type="text/javascript"> | 22 <script type="text/javascript"> |
| 23 if (window.testRunner) { | 23 if (window.testRunner) { |
| 24 testRunner.dumpAsText(true); | 24 testRunner.dumpAsTextWithPixelResults(); |
| 25 testRunner.testRepaint(); | 25 testRunner.testRepaint(); |
| 26 } | 26 } |
| 27 </script> | 27 </script> |
| 28 | 28 |
| 29 </body> | 29 </body> |
| 30 </html> | 30 </html> |
| OLD | NEW |