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
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
compositing
/
squashing
/
squash-canvas.html
blob
c76af93ae9d1648fc669f8b665b687193010a280
1
<!DOCTYPE
HTML
>
2
<style>
3
canvas {
4
width:
40
px;
5
height:
40
px;
6
background: blue;
7
position: absolute;
8
top:
80
px;
9
left:
10
px;
10
}
11
#background {
12
width:
100
px;
13
height:
100
px;
14
background: green;
15
position: absolute;
16
transform: translateZ(
0
);
17
}
18
#overlap {
19
width:
10
px;
20
height:
10
px;
21
background: grey;
22
position: absolute;
23
top:
20
px;
24
}
25
</style>
26
<div
id
=
"background"
></div>
27
<div
id
=
"overlap"
></div>
28
<canvas></canvas>