blob: ffb03c8c56291e7cddbe4166be00d2fde3931963 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>SVG failing to repaint</title>
</head>
<body>
<svg width="201px" height="201px">
<g>
<path fill="red" fill-opacity="1" d="M 0 0 L 0 200 200 200 200 0 Z"></path>
<path id="blinker" fill="green" fill-opacity="1" d="M 00 00 L 00 200 200 200 200 00 Z" style=""></path>
</g>
</svg>
</div>
<script type='text/javascript'>
var blinker = document.getElementById('blinker');
if (window.testRunner)
window.testRunner.waitUntilDone();
window.setTimeout(function () {
blinker.style.display = 'none';
window.setTimeout(function () {
blinker.style.display = '';
if (window.testRunner)
window.testRunner.notifyDone();
}, 50);
}, 50);
</script>
</body>
</html>