summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/legend/1273433.html
blob: beb1b090708d0e7692a3efdbd65b3b4acae9269e (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
<!DOCTYPE HTML>
<html><head>
    <meta charset="utf-8">
    <title>Testcase for bug 1273433</title>
    <style type="text/css">

html,body {
    color:black; background-color:white; font-size:12px; padding:0; margin:0;
}
	
fieldset { border: 1px solid black; }
.v { writing-mode: vertical-lr; height:300px; float:left; }
legend { width: 100px; border:1px solid blue; }
.v legend, .rl legend { width: auto; height: 100px; }
.rtl { direction:rtl; }
.ltr { direction:ltr; }

    </style>
</head>
<body>

<fieldset><legend>(unset)</legend></fieldset>
<fieldset><legend align="left">left</legend></fieldset>
<fieldset><legend align="right">right</legend></fieldset>

<fieldset class="rtl"><legend>(unset)</legend>RTL</fieldset>
<fieldset class="rtl"><legend align="left">left</legend>RTL</fieldset>
<fieldset class="rtl"><legend align="right">right</legend>RTL</fieldset>

<fieldset class="rtl"><legend class="ltr" align="left">left</legend>RTL</fieldset>
<fieldset class="rtl"><legend class="ltr" align="right">right</legend>RTL</fieldset>

<fieldset><legend align="bottom">bottom</legend></fieldset>
<fieldset><legend align="top">top</legend></fieldset>

<fieldset class="v"><legend>(unset)</legend></fieldset>
<fieldset class="v"><legend align="left">left</legend></fieldset>
<fieldset class="v"><legend align="right">right</legend></fieldset>

<fieldset class="v rtl"><legend>(unset)</legend>RTL</fieldset>
<fieldset class="v rtl"><legend align="left">left</legend>RTL</fieldset>
<fieldset class="v rtl"><legend align="right">right</legend>RTL</fieldset>

<fieldset class="v rtl"><legend class="ltr" align="left">left</legend>RTL</fieldset>
<fieldset class="v rtl"><legend class="ltr" align="right">right</legend>RTL</fieldset>

<fieldset class="v"><legend align="bottom">bottom</legend></fieldset>
<fieldset class="v"><legend align="top">top</legend></fieldset>

</body>
</html>