1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml"><head>
3 <title>CSS Test: Background is clipped to the curve of the content-box when 'background-clip: content-box'</title>
4 <link href="http://www.microsoft.com/" rel="author" title="Microsoft">
5 <link href="http://www.w3.org/TR/css3-background/#border-radius" rel="help">
6 <meta content="" name="flags">
7 <meta content="Background is clipped to the curve of the content-box when 'background-clip: content-box'" name="assert">
8 <style type="text/css">
9 #test
10 {
11 width: 100px;
12 height: 100px;
13 border: 10px solid black;
14 padding: 10px;
15 border-radius: 40px;
16 background: red;
17 background-clip: content-box;
18 }
19 #reference
20 {
21 margin-top: -120px;
22 margin-left: 20px;
23 width: 100px;
24 height: 100px;
25 border-radius: 20px;
26 background-color: black;
27 }
28 </style>
29 </head>
30 <body>
31 <p>Test passes if there is no red visible on the page.</p>
32 <div id="test"></div>
33 <div id="reference"></div>
34
35 </body></html>