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="opaqueHighlight
"> | 18 <span style="cursor: pointer;position:relative;z-index:1" class="opaqueHighlight
"> |
19 <span id="targetLink" style="visibility: hidden" class="mySpan">TEST</span> | 19 <span id="targetLink" style="visibility: hidden" class="mySpan">TEST</span> |
(...skipping 21 matching lines...) Expand all Loading... |
41 debug("This test requires DumpRenderTree."); | 41 debug("This test requires DumpRenderTree."); |
42 debug("This test makes sure that a link highlight on a composited" + | 42 debug("This test makes sure that a link highlight on a composited" + |
43 ", inline element that doesn't draw content does not crash" + | 43 ", inline element that doesn't draw content does not crash" + |
44 "http://crbug.com/322591"); | 44 "http://crbug.com/322591"); |
45 debug("This test is successful if it doesn't crash and there's a green r
ectangle below."); | 45 debug("This test is successful if it doesn't crash and there's a green r
ectangle below."); |
46 } | 46 } |
47 } | 47 } |
48 </script> | 48 </script> |
49 </body> | 49 </body> |
50 </html> | 50 </html> |
OLD | NEW |