mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
30 lines
No EOL
887 B
HTML
30 lines
No EOL
887 B
HTML
<!DOCTYPE html>
|
|
<html><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> |