Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / background-clip-values.html
blob69fb3185c41df34030228b4ca609ba19561190c8
1 <html>
2 <head>
3 <title>Testing Background clip values</title>
4 <style type="text/css">
5 div {
6 border: 15px dashed black;
7 background-color:green;
8 padding: 15px 25px;
9 height: 75px;
10 width: 200px;
13 #box1 {
14 background-clip: content-box;
16 #box2 {
17 background-clip: padding-box;
19 #box3 {
20 background-clip: border-box;
22 </style>
23 </head>
24 <body>
25 <div id="box1">
26 <!-- Background color should be clipped to the content box. Padding space is white.-->
27 </div>
28 <div id="box2">
29 <!-- Background color should be clipped to the padding box. Padding space is green.-->
30 </div>
31 <div id="box3">
32 <!--Background color should be clipped to the border box. Green should be visible within the dashed border.-->
33 </div>
34 </body>
35 </html>