summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/box-display/support/root-canvas-001a.html
blob: 4cfa963ff07a6cab61ffac7ecefa8bfdc7331346 (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">
 <head>
  <title>Canvas: Embedded documents: Internal</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/model/canvas/001a.html" type="text/html"/>
    <style type="text/css">
   html, body { background: red; color: white; }
   html, body, p {
     margin: 0; padding: 0; border: 0; height: 100%;
   }
   p {
    background: green;
   }
  </style>
 </head>
 <body>
  <p>This square must be green.</p>
 </body>
</html>