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
/
css3
/
motion-path
/
path-establishes-stacking-context.html
blob
b117987a7942aaec7bc72d6f9fde94a72fdd6388
1
<!DOCTYPE
html
>
2
<html>
3
<head>
4
<style>
5
6
span {
7
position: absolute;
8
width:
120
px;
9
line-height:
120
px;
10
text-align: center;
11
color: yellow;
12
}
13
14
#span1 {
15
z-index:
2
;
16
left:
50
px;
17
top:
50
px;
18
background: red;
19
}
20
21
#span2 {
22
z-index:
1
;
23
left:
100
px;
24
top:
100
px;
25
background: green;
26
}
27
28
#span3 {
29
left:
150
px;
30
top:
150
px;
31
background: blue;
32
}
33
34
#div1 {
35
motion-path: path('M0,
0
');
36
}
37
38
#div2 {
39
motion-path: none;
40
}
41
42
</style>
43
</head>
44
<body>
45
46
<div
id
=
"div1"
>
47
<span
id
=
"span1"
>
First
</span>
48
</div>
49
<div
id
=
"div2"
>
50
<span
id
=
"span2"
>
Second
</span>
51
</div>
52
<div
id
=
"div3"
>
53
<span
id
=
"span3"
>
Third
</span>
54
</div>
55
56
</body>
57
</html>