summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html')
-rw-r--r--testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html
new file mode 100644
index 0000000000..4fd7524315
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ruby/ruby-with-floats-003.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<title>A ruby annotation doesn't intersect with any floats.</title>
+<link rel="match" href="ruby-with-floats-003-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css-ruby-1/">
+<div style="float: left; width: 50px; height: 20px; background: green;"></div>
+<div style="float: left; clear: left; width: 100px; height: 50px; background: green;"></div>
+<ruby style="ruby-position: under;">base<rt>annotation</rt></ruby>
+</div>