summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/normal-flow/block-in-inline-align-001-ref.html
blob: da8d91657f950f68935d20b9fbfaf378aed8cf82 (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
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<style>
section {
  width: 20ch;
}
.w10 {
  width: 10ch;
  background: orange;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
</style>
<body>
  <section class="right">
    <span>
      <div>123456789</div>
      <div class="w10">123456789</div>
      <div>123456789</div>
    </span>
  </section>

  <section dir="rtl" class="left">
    <span>
      <div>123456789</div>
      <div class="w10">123456789</div>
      <div>123456789</div>
    </span>
  </section>
</body>