summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/inline-background-rtl-001.html
blob: a7149e2f3c83acf175b5de4f8bcbf63a2c20d4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>