blob: 7a12d31351ac3cc2a76ede1125850ae39829bec6 [file] [log] [blame]
<!DOCTYPE>
<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="will-change: transform"> <!-- throw the page into compositing mode -->
</div>
</body>
</html>