Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / masking / clip-path-reference-restore.html
blob96b104d2b7252cfd6fee0d4b81534dc76611a69b
1 <!DOCTYPE html>
2 <style>
3 .error {
4 width: 100px;
5 height: 100px;
6 background-color: red;
7 position: absolute;
9 .test {
10 width: 200px;
11 height: 50px;
12 background-color: green;
13 -webkit-clip-path: url(#c);
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>