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> | 5 <style> |
6 a { | 6 a { |
7 color: #00c; | 7 color: #00c; |
8 } | 8 } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
11 <body onload="runTest();" onclick="doNothing();"> | 11 <body onload="runTest();" onclick="doNothing();"> |
12 <div style="-webkit-transform: translateZ(0); position: relative; left: 10px; to
p: 40px"> | 12 <div style="transform: translateZ(0); position: relative; left: 10px; top: 40px"
> |
13 <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> |
14 </div> | 14 </div> |
15 <div style="position: relative; left: 10px; top: 70px"> | 15 <div style="position: relative; left: 10px; top: 70px"> |
16 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 |
17 should be white and not grey). | 17 should be white and not grey). |
18 </div> | 18 </div> |
19 <script> | 19 <script> |
20 function runTest() { | 20 function runTest() { |
21 if (window.testRunner) | 21 if (window.testRunner) |
22 testRunner.dumpAsTextWithPixelResults(); | 22 testRunner.dumpAsTextWithPixelResults(); |
23 } | 23 } |
24 </script> | 24 </script> |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |