summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1243125-1-floats-overflowing.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/writing-mode/1243125-1-floats-overflowing.html')
-rw-r--r--layout/reftests/writing-mode/1243125-1-floats-overflowing.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1243125-1-floats-overflowing.html b/layout/reftests/writing-mode/1243125-1-floats-overflowing.html
new file mode 100644
index 0000000000..463396fbf2
--- /dev/null
+++ b/layout/reftests/writing-mode/1243125-1-floats-overflowing.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Bug 1243125 testcase</title>
+ <meta charset="utf-8">
+ <style type="text/css">
+ div {
+ overflow: hidden;
+ height: 20px;
+ width: 300px;
+ background: red;
+ margin: 8px 0;
+ }
+ .h-tb { writing-mode: horizontal-tb; }
+ .v-lr { writing-mode: vertical-lr; }
+ .v-rl { writing-mode: vertical-rl; }
+ span {
+ float: left;
+ height: 21px;
+ width: 301px;
+ background: green;
+ }
+ </style>
+</head>
+<body>
+ <p>There should be 9 green bars</p>
+
+ <div class="h-tb"><span class="h-tb"></span></div>
+ <div class="h-tb"><span class="v-lr"></span></div>
+ <div class="h-tb"><span class="v-rl"></span></div>
+
+ <div class="v-lr"><span class="h-tb"></span></div>
+ <div class="v-lr"><span class="v-lr"></span></div>
+ <div class="v-lr"><span class="v-rl"></span></div>
+
+ <div class="v-rl"><span class="h-tb"></span></div>
+ <div class="v-rl"><span class="v-lr"></span></div>
+ <div class="v-rl"><span class="v-rl"></span></div>
+</body>
+</html>