1 <!DOCTYPE html>
2 <html><head>
3 <meta charset="utf-8">
4 <title>CSS Backgrounds and Borders Test: background-clip - initial value</title>
5 <link href="http://www.intel.com" rel="author" title="Intel">
6 <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="reviewer" title="Gérard Talbot"> <!-- 2012-11-09 -->
7 <link href="http://www.w3.org/TR/css3-background/#the-background-clip" rel="help" title="3.7. Painting Area: the 'background-clip' property">
8 <link href="reference/background-clip-002-ref.htm" rel="match">
9 <meta content="" name="flags">
10 <meta content="Background-clip with initial value implies to paint the background within (clipped to) the border box." name="assert">
11 <style>
12 #ref-overlapped-red {
13 background-color: red;
14 height: 160px;
15 width: 160px;
16 }
17 #test-overlapping-green {
18 background-color: green;
19 border: transparent dotted 5px;
20 bottom: 160px;
21 height: 100px;
22 padding: 25px;
23 position: relative;
24 width: 100px;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
30 <div id="ref-overlapped-red"></div>
31 <div id="test-overlapping-green"></div>
32
33
34 </body></html>