1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Background with inherit inheriting five values</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties">
8 <meta name="flags" content="image interact">
9 <meta name="assert" content="Ensure that inherit works when inheriting five values.">
10 <style type="text/css">
11 #wrapper
12 {
13 background: black url('support/green15x15.png') repeat-x 0.5in 0.5in scroll;
14 height: 1in;
15 overflow: scroll;
16 }
17 #test
18 {
19 background: red;
20 background: inherit;
21 height: 2in;
22 }
23 </style>
24 </head>
25 <body>
26 <p>Test passes if there is no red visible on the page even when scrolling the box below.</p>
27 <div id="wrapper">
28 <div id="test"></div>
29 </div>
30 </body>
31 </html>