summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/float-handling.html
blob: 587483ec15822fb027b74a67936c04898a6a5392 (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>HELLO WORLD</rb><rt><div class="left"></div>hello world</rt></ruby></div>
  <div><ruby><rb>HELLO WORLD</rb><rt>hello<div class="left"></div> world</rt></ruby></div>
  <div><ruby><rb>HELLO WORLD</rb><rt><div class="right"></div>hello world</rt></ruby></div>
  <div><ruby><rb>HELLO WORLD</rb><rt>hello<div class="right"></div> world</rt></ruby></div>
</body>
</html>