Update web-platform-tests to revision c0a3e93389bdcc9e8ad12d3988e4568d48b78c9d

This commit is contained in:
WPT Sync Bot 2019-06-29 10:23:13 +00:00
parent 84786add22
commit 686c6b89ed
826 changed files with 8235 additions and 522 deletions

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<style>
body {
overflow: hidden;
}
button#background {
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 40px;
line-height: 53px;
}
button.clicked {
background-color: red;
}
button.clicked::after {
content: " (clicked)";
}
</style>
</head>
<body>
<button id="background">background</button>
<script>
document.body.addEventListener('click', (e) => {
e.target.classList.add('clicked');
});
</script>
</body>
</html>