3 <!-- Submitted from TestTWF Paris -->
6 <title>CSS Backgrounds and Borders Test: background-clip: padding-box with border-radius
</title>
7 <link rel=
"author" title=
"Lea Verou" href=
"http://lea.verou.me" />
8 <link rel=
"help" href=
"http://www.w3.org/TR/css3-background/#the-background-clip" />
9 <link rel=
"help" href=
"http://www.w3.org/TR/css3-background/#corner-shaping" />
10 <meta name=
"flags" content=
"" />
11 <meta name=
"assert" content=
"Backgrounds clipped to the padding box should follow the padding box curve, which should be equal to the outer border radius minus the corresponding border thickness." />
36 border:
10px solid transparent;
38 background-clip: padding-box;
42 background-color: red;
46 background-color: green;
67 <p>Test passes if there are two filled green rounded squares and
<strong>no red
</strong>.
</p>
68 <div class=
"container">
69 <div class=
"test behind"></div>
70 <div class=
"ref top"></div>
73 <div class=
"container">
74 <div class=
"ref behind"></div>
75 <div class=
"test top"></div>