15 lines
382 B
HTML
15 lines
382 B
HTML
<!DOCTYPE html>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.waitUntilDone();
|
|
|
|
window.onload = function() {
|
|
requestAnimationFrame(function() {
|
|
document.querySelector("svg").style.border = "10px solid green";
|
|
if (window.testRunner)
|
|
window.testRunner.notifyDone();
|
|
});
|
|
};
|
|
</script>
|
|
<svg width="100" height="100" style="position: absolute"></svg>
|