blob: 6e33a1578caf44b53ba7956e2d9f52f07d065095 [file] [log] [blame]
<!DOCTYPE html>
<!--
| Ensures that even after we set the body's background-color to a
| non-transparent value, we can still adjust it later to be transparent and
| that style will be properly respected. The output of this test should be
| a purely transparent (alpha = 0) image.
-->
<html>
<head>
<style>
body {
background-color: blue;
}
</style>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
}
window.onload = function() {
if (window.testRunner) {
window.testRunner.DoNonMeasuredLayout();
}
document.body.style.backgroundColor = 'transparent';
if (window.testRunner) {
window.testRunner.DoNonMeasuredLayout();
window.testRunner.notifyDone();
}
}
</script>
</head>
<body>
</body>
</html>