adds tests for osr
This commit is contained in:
parent
5525ac36b8
commit
35ee99265e
7 changed files with 177 additions and 8 deletions
11
spec/fixtures/api/offscreen-rendering.html
vendored
Normal file
11
spec/fixtures/api/offscreen-rendering.html
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<html>
|
||||
<body>
|
||||
<div style="width: 10px; height: 10px;" id="dirty"></div>
|
||||
</body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
setInterval(function(){
|
||||
document.getElementById('dirty').style.backgroundColor =
|
||||
'#'+(Math.random()*0xFFFFFF<<0).toString(16)
|
||||
}, 10)
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue