Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: Background-color set to transparent</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-21 -->
<link rel="match" href="background-color-001-ref.xht" />
<meta name="assert" content="Background-color is set to transparent." />
<style type="text/css">
div
{
height: 100px;
width: 100px;
}
#wrapper
{
background-color: green;
}
#test
{
background-color: transparent;
}
</style>
</head>
<body>
<p>Test passes if there is a <strong>filled green square</strong>.</p>
<div id="wrapper">
<div id="test"></div>
</div>
</body>
</html>