summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html
new file mode 100644
index 0000000000..a49c1b255f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-001.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<title>A float is positioned correctly with ruby.</title>
+<link rel="match" href="ruby-with-floats-001-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-ruby-1/">
+<div style="float: left; width: 50px; height: 50px; background: green;"></div>
+<ruby>base<rt>annotation</rt></ruby>
+</div>