summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/backgrounds/background-image-005.xht
blob: 6f93a8bafd42b88f74305011cbdb28957e566ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!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" lang="en">
 <head>
  <title>CSS Test: Parsing 'background-image'</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-04-21 -->
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/005.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" />
  <link rel="match" href="../reference/ref-this-text-should-be-green.xht" />

  <meta name="flags" content="invalid"/>
  <style type="text/css"><![CDATA[
   body { color: green; }
   p { background-image: url(support/swatch-red.png) repeat; }
  ]]></style>
 </head>
 <body>
  <p>This text should be green.</p>
 </body>
</html>