| if (window.eventSender) { |
| eventSender.mouseMoveTo(100, 100); |
| document.getElementById("log").innerHTML = "FAIL. usemap attribute is not ignored."; |
| <p>Tests the usemap attribute on the img element if it has a valid has-name reference. HTML5 specification says we should ignore usemap attributes without #. Click the image to test.</p> |
| <div id=log>SUCCESS. usemap attribute is ignored.</div> |
| <img id="img" width="300" height="200" usemap="map" alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAAXNSR0IArs4c6QAAAAxJREFUCNdjYKhnAAABAgCAbV7tZwAAAABJRU5ErkJggg=="/> |
| <div id="mapHolder"><map name="map"><area shape="rect" coords="0,0,300,200" alt="" href="javascript:fail()"></map></div> |