summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/427370-1-ref.html
blob: a53c5cd0eb3d3ad581cf2b5aba57119f3d0bba68 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE HTML>
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Testcase for bug 427370</title>
    <style type="text/css">

        html,body {
            color:black; background-color: white; font-size:16px; padding:0; margin:0;
        }
        body {
            margin:10px;
        }
        ol,li{margin:0!important;padding:0!important}
        ol { margin-top:1em!important; }
        .rtl li {margin-right:40px!important;}
        .ltr li {margin-left:40px!important;}

        DEBUG_li {
                outline:1px dashed red;
                border:3px dashed blue;
        }
        .inside li {
                list-style-position:inside;
        }

        .rtl label { 
                float:right;
        }
        .ltr label { 
                float:left;
        }

        label {
                width:100px;
                height:1em;
                background:pink;
        }

        .rtl { 
                direction:rtl;
        }
        .ltr { 
                direction:ltr;
        }

        .C {
                padding:0 0.2em 0 0.2em;
        }
    </style>
</head>
<body>
<div style="position:absolute;top:0;left: 50px;bottom:0;width:1px;background:lime;opacity:0.5"></div>
<div style="position:absolute;top:0;right:50px;bottom:0;width:1px;background:lime;opacity:0.5"></div>

<div class="ltr">
                <ol>
                        <li><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></li>
                        <li><div style="overflow:hidden;">
                                <div></div><div><span class="C">C</span></div>
                        </div></li>
</ol>
</div>

<div class="rtl">
<ol>
                        <li><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></li>
                        <li><div style="overflow:hidden;">
                                <div></div><div><span class="C">C</span></div>
                        </div></li>
</ol>
</div>

<br style="clear:both;">

<div style="float:left; width:100px; height:5em; border:1px solid black"></div>
<div class="ltr">
                <ol>
                        <li><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></li>
                        <li><div style="overflow:hidden;">
                                <div></div><div><span class="C">C</span></div>
                        </div></li>
</ol>
</div>

<br style="clear:both;">

<div style="float:right; width:100px; height:5em; border:1px solid black"></div>
<div class="rtl">
<ol>
                        <li><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></li>
                        <li><div style="overflow:hidden;">
                                <div></div><div><span class="C">C</span></div>
                        </div></li>
</ol>
</div>


<br style="clear:both;">

<div class="ltr">
                <ol>
                        <li><div><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></div></li>
</ol>
</div>

<div class="rtl">
<ol>
                        <li><div><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></div></li>
</ol>
</div>

<br style="clear:both;">

<div style="float:left; width:100px; height:5em; border:1px solid black"></div>
<div class="ltr">
                <ol>
                        <li><div><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></div></li>
</ol>
</div>

<br style="clear:both;">

<div style="float:right; width:100px; height:5em; border:1px solid black"></div>
<div class="rtl">
<ol>
                        <li><div><div style="overflow:hidden;">
                                <label></label>
                                Outside
                        </div></div></li>
</ol>
</div>

</body>
</html>