repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
chrome
/
test
/
data
/
third_party
/
spaceport
/
js
/
sprites
/
canvas.js
blob
7c873d564028f5f89fe1dc586ef1b4a795f6875c
1
define([ ], function () {
2
function canvas() {
3
var canvas = document.createElement('canvas');
4
canvas.width = 512;
5
canvas.height = 512;
6
canvas.style.background = '#FFFFFF';
7
canvas.style.position = 'absolute';
8
canvas.style.left = '0';
9
canvas.style.top = '0';
10
return canvas;
11
}
12
13
return canvas;
14
});