| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 <style> |
| 6 a { |
| 7 color: #00c; |
| 8 } |
| 9 </style> |
| 5 </head> | 10 </head> |
| 6 <body onload="runTest();" onclick="doNothing();"> | 11 <body onload="runTest();" onclick="doNothing();"> |
| 7 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to
p: 40px"> | 12 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to
p: 40px"> |
| 8 <a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0
.5)">Target Link.</a> | 13 <a href="" id="targetLink" style="-webkit-tap-highlight-color: rgba(0, 255, 0, 0
.5)">Target Link.</a> |
| 9 </div> | 14 </div> |
| 10 <div style="position: relative; left: 10px; top: 70px"> | 15 <div style="position: relative; left: 10px; top: 70px"> |
| 11 This test is successful if no link highlight appears (in particular, the entire
viewport should remain unchanged, and the background | 16 This test is successful if no link highlight appears (in particular, the entire
viewport should remain unchanged, and the background |
| 12 should be white and not grey). | 17 should be white and not grey). |
| 13 </div> | 18 </div> |
| 14 <script> | 19 <script> |
| 15 function runTest() { | 20 function runTest() { |
| 16 if (window.testRunner) | 21 if (window.testRunner) |
| 17 testRunner.dumpAsTextWithPixelResults(); | 22 testRunner.dumpAsTextWithPixelResults(); |
| 18 } | 23 } |
| 19 </script> | 24 </script> |
| 20 </script> | 25 </script> |
| 21 </body> | 26 </body> |
| 22 </html> | 27 </html> |
| OLD | NEW |