summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht b/testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht
new file mode 100644
index 0000000000..f31fafabf8
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/page-box/page-container-009.xht
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>CSS Test: Paged Media Body Background</title>
+ <link rel="author" title="Melinda Grant" href="mailto:melinda.grant@hp.com" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details" />
+ <link rel="help" href="http://www.w3.org/TR/css3-page/#painting" />
+ <meta name="flags" content="paged" />
+ <meta name="assert" content="For documents in the html namespace, a background on 'body' will cover the page area." />
+ <style type="text/css">
+ @page {
+ margin: 7%;
+ }
+ html {
+ background-color: inherit;
+ background-image: inherit;
+}
+ body {
+ background-color: #ddffdd;
+}
+
+ </style>
+ </head>
+ <body>
+ <div>
+ <p>There is a white margin around the edge of this page. The top and
+ bottom margins are of equal height, and the right and left margins are of
+ equal width. The rest of the page,
+ including this text, has a pale green background.
+ </p>
+ </div>
+ </body>
+</html>