<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> | |
<head> | |
<script src="../../resources/js-test.js"></script> | |
<style> | |
#square { | |
position: relative; | |
width: 100px; | |
height: 100px; | |
background: #aaa; | |
} | |
#square:active:after { | |
content: ""; | |
display: block; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
left: 0; | |
right: 0; | |
background: #000; | |
opacity: 0.25; | |
} | |
</style> | |
</head> | |
<body> | |
<script src="script-tests/mouse-click-events-pseudo-element.js"></script> | |
</body> | |
</html> |