summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/orthogonal-floats-1b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/floats/orthogonal-floats-1b.html')
-rw-r--r--layout/reftests/floats/orthogonal-floats-1b.html54
1 files changed, 54 insertions, 0 deletions
diff --git a/layout/reftests/floats/orthogonal-floats-1b.html b/layout/reftests/floats/orthogonal-floats-1b.html
new file mode 100644
index 000000000..f4890f32d
--- /dev/null
+++ b/layout/reftests/floats/orthogonal-floats-1b.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Bug 1141867 - Contiguous right-floating boxes with vertical writing mode</title>
+ <!-- based on testcases from GĂ©rard Talbot, see https://bugzilla.mozilla.org/show_bug.cgi?id=1141867 -->
+ <meta charset="utf-8">
+ <style type="text/css">
+ body {
+ margin: 8px;
+ }
+ p {
+ clear: both;
+ }
+ div.floated-right {
+ background: green;
+ color: green;
+ inline-size: 100px;
+ block-size: 20px;
+ float: right;
+ -ah-writing-mode: vertical-lr;
+ -webkit-writing-mode: vertical-lr;
+ writing-mode: tb-lr; /* IE 11 */
+ writing-mode: vertical-lr;
+ }
+ div#reference-overlapped-red {
+ background-color: red;
+ width: 100px;
+ height: 100px;
+ position: absolute;
+ right: 8px;
+ top: 8px;
+ z-index: -1;
+ }
+ </style>
+ </head>
+
+ <body>
+
+ <div class="floated-right">abcde</div>
+
+ <div class="floated-right">fghijk</div>
+
+ <div class="floated-right">lmnopq</div>
+
+ <div class="floated-right">rstuv</div>
+
+ <div class="floated-right">wxyz!</div>
+
+ <div id="reference-overlapped-red"></div>
+
+ <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
+
+ </body>
+</html>