File: 433700.html

package info (click to toggle)
firefox 149.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,767,760 kB
  • sloc: cpp: 7,416,064; javascript: 6,752,859; ansic: 3,774,850; python: 1,250,473; xml: 641,578; asm: 439,191; java: 186,617; sh: 56,634; makefile: 18,856; objc: 13,092; perl: 12,763; pascal: 5,960; yacc: 4,583; cs: 3,846; lex: 1,720; ruby: 1,002; php: 436; lisp: 258; awk: 105; sql: 66; sed: 53; csh: 10; exp: 6
file content (88 lines) | stat: -rw-r--r-- 2,394 bytes parent folder | download | duplicates (51)
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
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Testcase for bug 433700</title>
    <style type="text/css">

body { font-family: sans-serif; font-size: 16px; }

fieldset,legend { padding:0; margin:0; border-width:0; border-style:solid; }
fieldset { border-right:7px solid blue; font-size: 16px; }

#test1 { position:fixed; }
#test1 fieldset { padding-left:35px; border-left:25px solid lime; background:lime; }
#test1 legend  { margin-left: -30px; background:pink; }

#test2 { position:fixed; top:3em; }
#test2 fieldset { padding-left:35px; border-left:25px solid lime; background:lime; width:200px; }
#test2 legend  { margin-left: -20%; background:pink; }

#test3 { position:fixed; top:6em; width:200px; }
#test3 fieldset { padding-left:35px; border-left:25px solid lime; background:lime; }
#test3 legend  { margin-left: 20px; background:pink; }

#test4 { position:fixed; top:9em; width:200px; }
#test4 fieldset { padding-left:35px; border-left:25px solid lime; background:lime; width:200px; }
#test4 legend  { margin-left: 10%; background:pink; }

#test5 { position:fixed; top:12em; width:200px; }
#test5 fieldset { padding-left:35px; border-left:25px solid lime; background:lime; }
#test5 legend  { margin-left: 100%; background:pink; }

#test6 { position:fixed; left:60px; top:15em; width:200px; }
#test6 fieldset { padding-left:35px; border-left:25px solid white; }
#test6 fieldset div { width:200px;  background:lime;  }
#test6 legend  { margin-left: -50%; background:pink; }

    </style>
</head>
<body>

<div id="test1">
<fieldset>
<legend>LEGEND</legend>
FIELDSET
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

<div id="test2">
<fieldset>
<legend>LEGEND</legend>
FIELDSET
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

<div id="test3">
<fieldset>
<legend>LEGEND</legend>
FIELDSET
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

<div id="test4">
<fieldset>
<legend>LEGEND</legend>
FIELDSET
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

<div id="test5">
<fieldset>
<legend>LEGEND</legend>
FIELDSET
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

<div id="test6">
<fieldset>
<legend>LEGEND</legend>
<div>FIELDSET</div>
<script>var v = document.body.offsetHeight;</script>
</fieldset>
</div>

</body></html>