servo/tests/wpt/css-tests/css-backgrounds-3_dev/xhtml1/reference/background-image-first-letter-ref.xht

23 lines
No EOL
759 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Reftest Reference</title>
<link href="mailto:emalasky@adobe.com" rel="author" title="Ethan Malasky" />
<meta content="ahem image" name="flags" />
<style type="text/css">
#content {
color: transparent;
font: 100px Ahem;
}
#content &gt; #foo {
background-image: url("../support/cat.png"); /* 98 w. by 99px h. */
background-repeat: no-repeat;
}
</style>
</head>
<body>
<p>Test passes if cat image is visible.</p>
<div id="content"><span id="foo">X</span>
</div>
</body></html>