Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<title>Test that making a content-visibility: hidden subtree visible restarts animations in it</title>
<link rel="author" title="Rob Buis" href="mailto:rbuis@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain-2/">
<style>
#target {
position: relative;
background: green;
height: 100px;
width: 100px;
left: 100px;
}
</style>
<body>
<div id="target"</div>
</body>