Closed
Description
Clicking on the green div under the shadow doesn't print 42.
<style>
.green {
background: green;
position: absolute;
top: 45px;
left: 170px;
width: 100px;
height: 50px;
}
.red {
background: red;
position: absolute;
top: 20px;
left: 20px;
width: 100px;
height: 100px;
box-shadow: 100px 0 0 rgba(0,0,0,0.1);
}
</style>
<div class="green" onclick="console.log(42)"></div>
<div class="red"></div>
Metadata
Metadata
Assignees
Labels
No labels
Activity
paulrouget commentedon Mar 3, 2016
This has been fixed before: #9428
Unrevert the fix for hit testing through shadows
Auto merge of #9866 - metajack:refix-shadow-hit-test, r=pcwalton