Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / masking / clip-path-inset-corners.html
bloba189d5276d45e7309f9e77af5d3bca6dad709867
1 <!DOCTYPE html>
2 <style>
3 .container {
4 width: 100px;
5 height: 100px;
6 background-color: red;
7 display: inline-block;
10 .clip {
11 width: 100px;
12 height: 100px;
13 background-color: green;
16 .test-top-left {
17 -webkit-clip-path: inset(0 round 50px 0 0 0);
20 .check-top-left {
21 border-radius: 50px 0 0 0;
24 .test-top-right {
25 -webkit-clip-path: inset(0 round 0 50px 0 0);
28 .check-top-right {
29 border-radius: 0 50px 0 0;
32 .test-bottom-right {
33 -webkit-clip-path: inset(0 round 0 0 50px 0);
36 .check-bottom-right {
37 border-radius: 0 0 50px 0;
40 .test-bottom-left {
41 -webkit-clip-path: inset(0 round 0 0 0 50px);
44 .check-bottom-left {
45 border-radius: 0 0 0 50px;
47 </style>
48 <body>
49 <p>You should see 4 green squares each with one rounded corner. You should not see any red.</p>
50 <div class="container check-top-left"><div class="clip test-top-left"></div></div>
51 <div class="container check-top-right"><div class="clip test-top-right"></div></div>
52 <br/>
53 <div class="container check-bottom-left"><div class="clip test-bottom-left"></div></div>
54 <div class="container check-bottom-right"><div class="clip test-bottom-right"></div></div>
55 </body>