summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/942017-ref.html
blob: 220ae6062533bdf5657ef40777c82433c1ee211f (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE HTML>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
    <meta charset="utf-8">
    <title>Bug 942017</title>

    <style type="text/css">
@font-face {
  font-family: DejaVuSansMono;
  src: url(../fonts/DejaVuSansMono.woff),url(DejaVuSansMono.woff);
}

  html,body {
      color:black; background-color:white; font-size:24px; font-family:DejaVuSansMono; padding:20px; margin:0;
  }

  div {
    float: left;
    padding: 1em 2em;
    outline: 2px solid black;
    background: black;
  }

  div.a { line-height: 0.5em; }
  div.b { line-height: 2em; }
  div.i l { margin-left:2.84ch; }

  l { display:block; outline:1px solid green; width:1ch; direction:rtl; white-space:nowrap; }
  x { display:inline-block; width:2.84ch; height:1px; vertical-align:top; }
    </style>
</head>
<body>
        <div class="a">
          <l>X<x></x></l>
          <l>X<x></x></l>
        </div>

<br clear="all">

        <div class="b">
          <l>X<x></x></l>
          <l>X<x></x></l>
        </div>

<br clear="all">

        <div class="a i">
          <l>X<x></x></l>
          <l>X<x></x></l>
        </div>

<br clear="all">

        <div class="b i">
          <l>X<x></x></l>
          <l>X<x></x></l>
        </div>

</body>
</html>