servo/tests/wpt/css-tests/compositing-1_dev/xhtml1/reference/mix-blend-mode-transition-ref.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

30 lines
No EOL
1,022 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test: Blended element with transition</title>
<link href="mailto:mitica@adobe.com" rel="author" title="Mihai Tica" />
<meta content="dom" name="flags" />
<style type="text/css">
div {
width: 100px;
height: 100px;
}
#blender {
background: #0F0;
transition: opacity 1s ease;
}
.opaqueBox {
opacity: 0.4;
}
</style>
</head>
<body>
<p>Test passes if you can see a fading green rectangle.</p>
<div style="background: #FF0;"><div id="blender"></div></div>
<script type="text/javascript">
setInterval(function(){ document.getElementById('blender').className = 'opaqueBox'; }, 100);
</script>
</body></html>