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
/
resources
/
canvas-fill-for-iframe.html
blob
4afb2930c227d5b531c221d44c067ede3ae2e5b4
1
<!DOCTYPE
html
>
2
<html>
3
<head></head>
4
<body>
5
<canvas
id
=
"mycanvas"
width
=
"200"
height
=
"200"
></canvas>
6
<script>
7
var
canvas
=
document
.
getElementById
(
'mycanvas'
);
8
var
ctx
=
canvas
.
getContext
(
'2d'
);
9
ctx
.
fillStyle
=
'red'
;
10
ctx
.
fillRect
(
0
,
0
,
200
,
200
);
11
</script>
12
</body>
13
</html>