summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/fieldset-columns-002.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/columns/fieldset-columns-002.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/columns/fieldset-columns-002.html b/layout/reftests/columns/fieldset-columns-002.html
new file mode 100644
index 0000000000..661a90caac
--- /dev/null
+++ b/layout/reftests/columns/fieldset-columns-002.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html>
+ <style>
+ div {
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ top: 0;
+ background: blue;
+ }
+ fieldset {
+ width: 300px;
+ height: 200px;
+ border: 1px solid;
+ position: relative;
+ overflow: hidden;
+ }
+ </style>
+ <fieldset style="columns: 1;">
+ <!-- The position of <div>s should remain the same regardless of
+ the multicol style on fieldset. -->
+ <legend>Legend<div style="left: 0px;"></div></legend>
+ <div style="left: 10px;"></div>
+ </fieldset>
+</html>