| Index: LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
|
| diff --git a/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html b/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..36fbb0226e9c696482b25684ba2e2f951fcab9cc
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/HTMLAreaElement/area-cursor.html
|
| @@ -0,0 +1,24 @@
|
| +<!DOCTYPE html>
|
| +<head>
|
| +<script>
|
| +onload = function() {
|
| + if (!window.testRunner)
|
| + return;
|
| +
|
| + testRunner.dumpAsText();
|
| + document.body.offsetLeft;
|
| + var target = document.querySelector('area');
|
| + eventSender.mouseMoveTo((target.offsetLeft + target.offsetRight) / 2,
|
| + (target.offsetTop + target.offsetTop) / 2);
|
| + document.getElementById('result').innerHTML = '' + window.getComputedStyle(target).cursor;
|
| +}
|
| +</script>
|
| +</head>
|
| +<body style="cursor:default">
|
| + <map id="menu" name="menu">
|
| + <area shape="rect" coords="0,0,199,199" href="dummy.gif"/>
|
| + </map>
|
| + <img style="cursor:auto;width:200px;height:200px" usemap="#menu" src="dummy.gif"/>
|
| + <p>Test for <a href="crbug.com/455253">crbug.com/455253</a>: cursor pointer on image-link</p>
|
| + <p>Result: <span id="result">default</span></p>
|
| +</body>
|
|
|