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
/
masking
/
clip-path-reference-restore.html
blob
96b104d2b7252cfd6fee0d4b81534dc76611a69b
1
<!DOCTYPE
html
>
2
<style>
3
.error {
4
width:
100
px;
5
height:
100
px;
6
background-color: red;
7
position: absolute;
8
}
9
.test {
10
width:
200
px;
11
height:
50
px;
12
background-color: green;
13
-webkit-clip-path: url(#c);
14
}
15
</style>
16
<div
class
=
"error"
></div>
17
<div
class
=
"test"
></div>
18
<div
class
=
"test"
></div>
19
<svg>
20
<defs>
21
<clipPath
id
=
"c"
clipPathUnits
=
"objectBoundingBox"
>
22
<rect
width
=
"0.5"
height
=
"1"
/>
23
</clipPath>
24
</defs>
25
</svg>