| 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 <script src="resources/link-highlight-helper.js"></script> | 5 <script src="resources/link-highlight-helper.js"></script> |
| 6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"
> | 6 <link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css"
> |
| 7 <style> | 7 <style> |
| 8 .myDiv { | 8 .myDiv { |
| 9 -webkit-transform:translateZ(0); | 9 transform:translateZ(0); |
| 10 position:relative; | 10 position:relative; |
| 11 z-index:0; | 11 z-index:0; |
| 12 top:-10px; | 12 top:-10px; |
| 13 background-color:blue | 13 background-color:blue |
| 14 } | 14 } |
| 15 </style> | 15 </style> |
| 16 </head> | 16 </head> |
| 17 <body onload="runTest();" style="overflow: hidden"> | 17 <body onload="runTest();" style="overflow: hidden"> |
| 18 <span style="cursor: pointer; position:relative;z-index:1" class="opaqueHighligh
t"> | 18 <span style="cursor: pointer; position:relative;z-index:1" class="opaqueHighligh
t"> |
| 19 <span id="targetLink" style="visibility: hidden">TEST</span> | 19 <span id="targetLink" style="visibility: hidden">TEST</span> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 debug("This test requires DumpRenderTree."); | 38 debug("This test requires DumpRenderTree."); |
| 39 debug("This test makes sure that a link highlight on a composited" + | 39 debug("This test makes sure that a link highlight on a composited" + |
| 40 ", inline element that doesn't draw content does not crash" + | 40 ", inline element that doesn't draw content does not crash" + |
| 41 "http://crbug.com/322591"); | 41 "http://crbug.com/322591"); |
| 42 debug("This test is successful if it doesn't crash and there's a green r
ectangle below."); | 42 debug("This test is successful if it doesn't crash and there's a green r
ectangle below."); |
| 43 } | 43 } |
| 44 } | 44 } |
| 45 </script> | 45 </script> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |