blob: a137eee908ccf58e08894ca603f176b64cb3b3d7 [file] [log] [blame]
<!DOCTYPE><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=false ] -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Opacity on inline</title>
<style type="text/css" media="screen">
#fader {
-webkit-transition: opacity 1s;
border: 1px solid black;
}
.faded {
opacity: 0.5;
}
</style>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
testRunner.dumpAsText();
window.addEventListener('load', function() {
var testSpan = document.getElementById('fader');
testSpan.className = 'faded';
}, false);
</script>
</head>
<body>
<p>This should not assert in debug builds</p>
<span id="fader">Opacity fade on inline</span>
<div style="-webkit-transform: translateZ(0)"> <!-- throw the page into compositing mode -->
</div>
</body>
</html>