summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/root-box-001-ref.xht
blob: fc396c4419693b5c8a34ce6b4dbab6582b716f27 (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
<!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-color: green;
  margin: 1em;
  }

  p
  {
  background-color: white;
  padding: 1em;
  }
  ]]></style>

 </head>

 <body>

  <p>This text should be in a white box surrounded by green that extends to all edges of the viewport.</p>

  <div></div>

 </body>
</html>