summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/orthogonal-floats-1d.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/floats/orthogonal-floats-1d.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/floats/orthogonal-floats-1d.html')
-rw-r--r--layout/reftests/floats/orthogonal-floats-1d.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/layout/reftests/floats/orthogonal-floats-1d.html b/layout/reftests/floats/orthogonal-floats-1d.html
new file mode 100644
index 000000000..97a22e1a6
--- /dev/null
+++ b/layout/reftests/floats/orthogonal-floats-1d.html
@@ -0,0 +1,56 @@
+<!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">
+ @font-face {
+ font-family: Ahem;
+ src: url(../fonts/Ahem.ttf);
+ }
+ body {
+ margin: 8px;
+ }
+ p {
+ clear: both;
+ }
+ div.floated-right {
+ color: green;
+ float: right;
+ -ah-writing-mode: vertical-lr;
+ -webkit-writing-mode: vertical-lr;
+ writing-mode: tb-lr; /* IE 11 */
+ writing-mode: vertical-lr;
+ font: 20px/20px Ahem;
+ }
+ 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">fghij</div>
+
+ <div class="floated-right">klmno</div>
+
+ <div class="floated-right">qrstu</div>
+
+ <div class="floated-right">vwxyz</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>