<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>CSS Test: Background with (position attachment repeat color)</title> <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-04-17 --> <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background"> <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"> <link rel="match" href="reference/background-030-ref.htm"> <meta name="flags" content=""> <meta name="assert" content="Background with (position attachment repeat color) sets the background of the element to the color specified. Repeat, position, and attachment only apply if image is set."> <style type="text/css"> div { background: bottom scroll repeat-x green; height: 200px; width: 200px; } </style> </head> <body> <p>Test passes if there is a <strong>filled green square</strong>.</p> <div></div> </body> </html>