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
blame
|
history
|
raw
|
HEAD
Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
canvas
/
bug412718.html
blob
cfadb0de6047935216145b1bd8796633eed6d10a
1
<!DOCTYPE
html
>
2
<script>
3
window
.
onload
=
function
() {
4
var
ctx
=
document
.
getElementById
(
'c'
).
getContext
(
'2d'
);
5
ctx
.
fillStyle
=
'blue'
;
// this triggers the lazy creation of the image buffer
6
}
7
</script>
8
<style>
9
canvas {
10
border: solid red;
11
background: green;
12
}
13
</style>
14
<canvas
id
=
"c"
width
=
"100"
height
=
"100"
></canvas>