summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht')
-rw-r--r--testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht b/testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht
new file mode 100644
index 0000000000..5efb66f202
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht
@@ -0,0 +1,28 @@
+<!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 Test Reference</title>
+ <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
+ <meta name="flags" content="svg" />
+ <style type="text/css">
+ /* Setup. Use 5:6 ratio because it's weird and unlikely to be hard-coded anywhere. */
+ div {
+ position: relative;
+ width: 120px;
+ height: 120px;
+ margin: 0.5em;
+ background: green;
+ }
+ </style>
+ </head>
+ <body>
+ <p>There must be two green boxes below and no red.</p>
+
+ <div class="cover">
+ </div>
+
+ <div class="limit">
+ </div>
+
+ </body>
+</html>