summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.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/writing-mode/1174450-intrinsic-sizing-ref.html')
-rw-r--r--layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html70
1 files changed, 70 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html b/layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html
new file mode 100644
index 0000000000..3645fa0066
--- /dev/null
+++ b/layout/reftests/writing-mode/1174450-intrinsic-sizing-ref.html
@@ -0,0 +1,70 @@
+<!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.v, div.h {
+ display: block;
+ position: relative;
+ border: 1px dashed silver;
+ width:74px;
+ height:24px;
+}
+div.h {
+ width:62px;
+ height:61.2px;
+}
+.h span {
+ margin: 7px 13px 32px 12px;
+ padding: 1px 3px 6px 19px;
+}
+.v span {
+ margin: 7px 13px 30px 5px;
+ padding: 1px 3px 2px 7px;
+}
+
+span {
+ display: block;
+ position: absolute;
+ width: 30px;
+ height: 10px;
+ background: lime;
+ 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>