summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html b/testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html
new file mode 100644
index 0000000000..a7149e2f3c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<title>CSS Backgrounds Test: background to inline boxes in RTL</title>
+<link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-color">
+<link rel="help" href="https://crbug.com/1123375">
+<link rel="match" href="reference/inline-background-rtl-001-ref.html">
+<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
+<style>
+.s { background-color: white; }
+.atomic { display: inline-block; }
+</style>
+<body>
+<div dir="rtl">
+<span>
+<span class="s">Hello<br>World<br></span>
+<span class="atomic"></span>
+</span>
+</div>
+
+<div dir="rtl">
+<span dir="ltr">
+<span class="s">Hello<br>World<br></span>
+<span class="atomic"></span>
+</span>
+</div>
+</body>