| <!DOCTYPE html> |
| <script src="resources/link-highlight-helper.js"></script> |
| <link rel="stylesheet" href="resources/link-highlight-style.css"> |
| <div style="will-change: transform;"> |
| <map name="map"> |
| <area shape="rect" coords="10,10,200,200" alt="Test" href="#"> |
| </map> |
| <img id="highlightTarget" class="opaqueHighlight" src="resources/dice.png" usemap="#map"> |
| </div> |
| <script> |
| onload = function() { |
| testHighlightTarget(); |
| debug("This test is successful if we don't cause a crash. TODO: Make link highlight work on image maps"); |
| }; |
| </script> |