blob: 36e7952181b2ffc44c7685ec430d0645b40b59bb [file] [log] [blame]
<!DOCTYPE html>
.hitregion {
width: 100px;
height: 100px;
background-color: green;
.hitregion:after {
content: "";
border: 40px solid;
outline: 10px solid;
position: absolute;
width: 0;
height: 0;
margin-left: 140px;
margin-top: 10px;
color: green;
REGRESSION: :hover doesn't work on :after content with borders or outlines.
To test this bug outside DRT, hover on the square below.
This test passes if there are two green squares.
<div class="hitregion"></div>