24 lines
644 B
HTML
24 lines
644 B
HTML
<html>
|
|
<script src="../../resources/js-test-pre.js"></script>
|
|
<head>
|
|
<style>
|
|
#test { background-color: red; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); height:200px; width:200px }
|
|
#test:hover { background-color: green; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table><tr><td>
|
|
<div id=test onclick="testPassed('click event received')">
|
|
</div>
|
|
</td></td>
|
|
</table>
|
|
<script>
|
|
description("Test that events get through self-painting layers in tables.");
|
|
if (window.eventSender) {
|
|
eventSender.mouseMoveTo(100, 100);
|
|
eventSender.mouseDown();
|
|
eventSender.mouseUp();
|
|
}
|
|
</script>
|
|
<script src="../../resources/js-test-post.js"></script>
|