summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html b/third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html
new file mode 100644
index 0000000..970f27f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/margin-collapse/003.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html lang="en">
+ <head>
+ <title>Margin Collapsing: fixed positioned</title>
+ <style type="text/css">
+ div.test { background: green; position: fixed; top: 4em; }
+ div.test div { background: red; margin: 5em 2.5em; }
+ div.control { height: 5em; width: 5em; background: red; position: fixed; top: 4em; }
+ </style>
+ </head>
+ <body>
+ <p>This page should have one square green block and no red.</p>
+ <div class="control"></div>
+ <div class="test">
+ <div></div>
+ </div>
+ </body>
+</html>