summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/50630-1c.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/bugs/50630-1c.html
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/bugs/50630-1c.html')
-rw-r--r--layout/reftests/bugs/50630-1c.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/bugs/50630-1c.html b/layout/reftests/bugs/50630-1c.html
new file mode 100644
index 0000000000..b346e45659
--- /dev/null
+++ b/layout/reftests/bugs/50630-1c.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>CSS 2.1 Test Suite: Test for float placement rules</title>
+<link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
+<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+<link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-position" />
+<meta name="assert" content="A floating box must be placed as high as possible. " />
+<meta name="flags" content="" />
+<style>
+.left { float:left; }
+.right { float:right; }
+.left, .right { width:50px; height:50px; background:yellow; }
+p { overflow:auto; }
+</style>
+</head>
+<body style="width:400px;">
+<p>Hello<span><span class="left"></span>Kitty</span>
+<p>Hello<span><span class="right"></span>Kitty</span>
+<p dir="rtl">Hello<span><span class="left"></span>Kitty</span>
+<p dir="rtl">Hello<span><span class="right"></span>Kitty</span>
+<p style="text-align:right;">Hello<span><span class="left"></span>Kitty</span>
+<p style="text-align:right;">Hello<span><span class="right"></span>Kitty</span>
+</body>
+</html>