diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/writing-mode/1174450-intrinsic-sizing.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/writing-mode/1174450-intrinsic-sizing.html | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1174450-intrinsic-sizing.html b/layout/reftests/writing-mode/1174450-intrinsic-sizing.html new file mode 100644 index 0000000000..e7cd5585c4 --- /dev/null +++ b/layout/reftests/writing-mode/1174450-intrinsic-sizing.html @@ -0,0 +1,63 @@ +<!DOCTYPE HTML> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<html><head> + <meta charset="utf-8"> + <title>Testcase for bug 1174450</title> + <style type="text/css"> +body,html { color:black; background:white; font-size:12px; line-height:16px; padding:0; margin:0; } + +div.h, div.v { + display: block; + border: 1px dashed silver; + float: left; +} +.v { + writing-mode: vertical-lr; +} +.h { + writing-mode: horizontal-tb; +} + +span { + display: block; + width: 30px; + height: 10px; + background: lime; + margin: 7px 13px 50% 20%; + padding: 1px 3px 10% 30%; + border-width: 5px 9px 1px 7px; + border-style: solid; +} + +.a { position:absolute; } +.t2 {top:100px;} +.t3 {top:200px;} +.t4 {top:300px;} + + </style> +</head> +<body> + + +<div class="a t1"> +<pre>vertical container, horizontal child</pre> +<div class="v"><span class="h"></span></div> +</div> +<div class="a t2"> +<pre>vertical container, vertical child</pre> +<div class="v"><span class="v"></span></div> +</div> +<div class="a t3"> +<pre>horizontal container, horizontal child</pre> +<div class="h"><span class="h"></span></div> +</div> +<div class="a t4"> +<pre>horizontal container, vertical child</pre> +<div class="h"><span class="v"></span></div> +</div> + +</body> +</html> |