repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git]
/
layout
/
reftests
/
canvas
/
nonzero-fill-2.html
blob
890716b81f1f2e5d03dcbb1ba8bc253e50a96b5d
1
<html>
2
<head>
3
<script
type
=
"text/javascript"
>
4
window
.
onload
=
function
() {
5
var
ctx
=
document
.
getElementById
(
"c1"
).
getContext
(
"2d"
);
6
7
ctx
.
moveTo
(
50
,
50
);
8
ctx
.
lineTo
(
250
,
50
);
9
ctx
.
lineTo
(
250
,
250
);
10
ctx
.
lineTo
(
50
,
250
);
11
ctx
.
lineTo
(
50
,
50
);
12
13
ctx
.
moveTo
(
100
,
100
);
14
ctx
.
lineTo
(
100
,
200
);
15
ctx
.
lineTo
(
200
,
200
);
16
ctx
.
lineTo
(
200
,
100
);
17
ctx
.
lineTo
(
100
,
100
);
18
19
ctx
.
fill
();
20
}
21
</script>
22
</head>
23
<body>
24
<div><canvas
id
=
"c1"
width
=
"300"
height
=
"300"
></canvas></div>
25
</body>
26
</html>