diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /layout/reftests/floats/orthogonal-floats-1a.html | |
parent | Initial commit. (diff) | |
download | firefox-upstream/124.0.1.tar.xz firefox-upstream/124.0.1.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/floats/orthogonal-floats-1a.html')
-rw-r--r-- | layout/reftests/floats/orthogonal-floats-1a.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/layout/reftests/floats/orthogonal-floats-1a.html b/layout/reftests/floats/orthogonal-floats-1a.html new file mode 100644 index 0000000000..25604d1b6b --- /dev/null +++ b/layout/reftests/floats/orthogonal-floats-1a.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 Gerard 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-rl; + -webkit-writing-mode: vertical-rl; + writing-mode: tb-rl; /* IE 11 */ + writing-mode: vertical-rl; + } + 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"></div>
+
+ <div class="floated-right"></div>
+
+ <div class="floated-right"></div>
+
+ <div class="floated-right"></div>
+
+ <div class="floated-right"></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> |