servo/tests/wpt/css-tests/css-backgrounds-3_dev/html4/background-clip-root.htm

26 lines
No EOL
729 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html><!-- Submitted from TestTWF Paris --><head>
<title>CSS Backgrounds and Borders Test: background-clip on root</title>
<link href="http://lea.verou.me" rel="author" title="Lea Verou">
<link href="http://www.w3.org/TR/css3-background/#the-background-clip" rel="help">
<meta content="image" name="flags">
<meta content="The root element has a different background painting area, and thus the background-clip property has no effect when specified on it." name="assert">
<style>
html {
padding: 20px;
background: url('support/1x1-green.png'), red;
background-clip: content-box, border-box;
}
</style>
</head>
<body>
<p>Test passes if there is green and <strong>no red</strong>.</p>
</body></html>