blob: ffb03c8c56291e7cddbe4166be00d2fde3931963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!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>
|