summaryrefslogtreecommitdiffstats
path: root/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css')
-rw-r--r--layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css b/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css
new file mode 100644
index 0000000000..3b2c973206
--- /dev/null
+++ b/layout/reftests/position-dynamic-changes/mixed-abspos-root/style.css
@@ -0,0 +1,22 @@
+#parent {
+ position: relative;
+ width: 400px;
+ height: 400px;
+ background: red;
+ border: 0 solid black;
+}
+#child {
+ position: absolute;
+ left: 300px;
+ top: 200px;
+ right: 20px;
+ bottom: 20px;
+ background: blue;
+ border: 0 solid black;
+}
+.floatLeft {
+ width: 50px;
+ height: 10px;
+ background: green;
+ float: left;
+}