summaryrefslogtreecommitdiff
path: root/layout/reftests/css-ruby/float-handling-ref.html
blob: d95796d3274dd02317522d3fcb5745da1ae176aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
  <link rel="stylesheet" href="common.css">
  <style>
    ruby div {
      width: 10px; height: 10px;
      background-color: grey;
      margin: 2px;
    }
    .left { float: left; }
    .right { float: right; }
  </style>
</head>
<body>
  <div><ruby><rb><div class="left"></div>HELLO WORLD</rb><rt>hello world</rt></ruby></div>
  <div><ruby><rb><div class="left"></div>HELLO WORLD</rb><rt>hello world</rt></ruby></div>
  <div><ruby><rb><div class="right"></div>HELLO WORLD</rb><rt>hello world</rt></ruby></div>
  <div><ruby><rb><div class="right"></div>HELLO WORLD</rb><rt>hello world</rt></ruby></div>
</body>
</html>