summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/backgrounds/background-root-015-ref.xht
blob: 6851c15dee7e3f8d06096c3bc6ff762340719da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!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 rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />

  <style type="text/css"><![CDATA[
  body
  {
  background: white url("support/square-teal.png") no-repeat center 19px;
  border: blue solid 3px;
  margin: 1em;
  padding: 70px 2em 2em 2em;
  }

  div
  {
  background: white url("support/square-purple.png") no-repeat 50% 0%;
  border: lime solid 3px;
  margin-top: 1em;
  padding: 102px 3em 3em 3em;
  }
  ]]></style>

 </head>

 <body>

  <div>Centered just inside the top of the green-bordered box there should be a
  purple square, and centered just inside the top of the blue-bordered box
  there should be a teal square.</div>

 </body>
</html>