summaryrefslogtreecommitdiffstats
path: root/layout/reftests/floats/orthogonal-floats-1c.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/floats/orthogonal-floats-1c.html
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/floats/orthogonal-floats-1c.html')
-rw-r--r--layout/reftests/floats/orthogonal-floats-1c.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/layout/reftests/floats/orthogonal-floats-1c.html b/layout/reftests/floats/orthogonal-floats-1c.html
new file mode 100644
index 0000000000..3c447b0ce9
--- /dev/null
+++ b/layout/reftests/floats/orthogonal-floats-1c.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-rl;
+ -webkit-writing-mode: vertical-rl;
+ writing-mode: tb-rl; /* IE 11 */
+ writing-mode: vertical-rl;
+ 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>