summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/float-handling.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ruby/float-handling.html')
-rw-r--r--layout/reftests/css-ruby/float-handling.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/css-ruby/float-handling.html b/layout/reftests/css-ruby/float-handling.html
new file mode 100644
index 000000000..587483ec1
--- /dev/null
+++ b/layout/reftests/css-ruby/float-handling.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <title></title>
+ <link rel="stylesheet" href="common.css">
+ <style>
+ ruby div {
+ width: 10px; height: 10px;
+ background-color: grey;
+ margin: 2px;
+ }
+ .left { float: left; }
+ .right { float: right; }
+ </style>
+</head>
+<body>
+ <div><ruby><rb>HELLO WORLD</rb><rt><div class="left"></div>hello world</rt></ruby></div>
+ <div><ruby><rb>HELLO WORLD</rb><rt>hello<div class="left"></div> world</rt></ruby></div>
+ <div><ruby><rb>HELLO WORLD</rb><rt><div class="right"></div>hello world</rt></ruby></div>
+ <div><ruby><rb>HELLO WORLD</rb><rt>hello<div class="right"></div> world</rt></ruby></div>
+</body>
+</html>