summaryrefslogtreecommitdiffstats
path: root/layout/reftests/columns/fieldset-columns-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/columns/fieldset-columns-001.html')
-rw-r--r--layout/reftests/columns/fieldset-columns-001.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/layout/reftests/columns/fieldset-columns-001.html b/layout/reftests/columns/fieldset-columns-001.html
new file mode 100644
index 0000000000..705cea0e82
--- /dev/null
+++ b/layout/reftests/columns/fieldset-columns-001.html
@@ -0,0 +1,72 @@
+<!DOCTYPE HTML>
+<html>
+<body>
+<style>
+a {
+ position: absolute;
+ width: 10px;
+ height: 10px;
+ top: 0;
+ left: 0;
+ background: blue;
+}
+f {
+ position: fixed;
+ width: 10px;
+ height: 10px;
+ bottom: 0;
+ left: 100px;
+ background: lime;
+}
+fieldset {
+ columns: 2;
+ column-fill: auto;
+ border: 1px solid;
+}
+.rel {
+ position: relative;
+}
+</style>
+<fieldset class="rel" style="overflow:hidden; width:300px; height:200px;">
+ <legend>Legend</legend>
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+<a></a><f></f>
+</fieldset>
+<fieldset class="rel" style="columns: 3; column-gap:2em; column-rule:3px solid; column-width:3em; width:600px; height:7em">
+ <legend>Legend</legend>
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+ <p>X
+<a></a><f style="left:120px"></f>
+</fieldset>
+<fieldset style="overflow:hidden; width:300px; height:2em;">
+ <legend>Legend</legend>
+ <p>X
+<a></a><f style="left:140px"></f>
+</fieldset>
+<fieldset style="width:600px; height:2em">
+ <legend>Legend</legend>
+ <p>X
+<a></a><f style="left:160px"></f>
+</fieldset>
+
+</body>
+</html>