Bug 1729777 [wpt PR 30405] - Parsing for contain-intrinsic-size: auto <length>, a...
[gecko.git] / testing / web-platform / tests / css / css-backgrounds / background-clip-007.html
blob2566e70d478957c53e6d17345d4db3c6f1507918
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>CSS Background and Borders Test: background-clip: content-box with background-color</title>
6 <link rel="author" title="Julien Chaffraix" href="mailto:jchaffraix@webkit.org">
7 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
8 <link rel="reviewer" title="Arron Eicholz" href="mailto:arronei@microsoft.com" /> <!-- 2012-10-27 -->
9 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-clip">
10 <meta name="flags" content="">
11 <meta name="assert" content="When 'background-clip' is set to 'content-box', then the background-color shines only through the content area; it does not shine through the padding area nor the border area.">
12 <link rel="match" href="reference/ref-if-there-is-no-red.xht">
13 <style>
14 div
16 background-clip: content-box;
17 background-color: red;
18 height: auto;
19 padding: 50px;
20 width: auto;
22 </style>
23 </head>
24 <body>
25 <p>Test passes if there is <strong>no red</strong>.</p>
26 <div></div>
27 </body>
28 </html>