summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/825999-ref.html
blob: 057d13192848db9d7b2cdb643b38d23f74dc06a4 (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
<!DOCTYPE html>
<html>
    <head>
        <title>Testcase for bug 825999</title>
        <meta charset="utf-8">
        <style>
        html,body {
            color:black; background-color:white; font-family: monospace; font-size:16px; padding:4px; margin:0;
        }

            button,p,select,span,table,object {
                width: 14px;
                text-indent: 20px;
                overflow: clip;
                padding-left:6px;
                padding-right:17px;
                outline: 1px solid blue;
            }
            span {
                display:inline-block;
                overflow:visible;
                outline:none;
            }
            x {
                display:block;
                overflow:hidden;
                height:3em;
                padding:1px;
                vertical-align:top;
                background:lime;
                width:36px;
            }
            .bb * {
                box-sizing: border-box;
            }
            .cb * {
                box-sizing: content-box;
            }
            td {
              max-width:14px;
            }
            .bc {
              border-collapse:collapse;
            }
            .it {
              display:inline-table;
            }
            object { height:3em; }
        </style>
    </head>
    <body>
      <div class="bb">
        <p>testing</p>
        <x></x>
        <button>testing</button>
        <select size=1><option>testing</select>
        <select size=3><option>testing<option>testing<option>testing</select>
        <object type="text/html" data="data:text/html,testing"></object>
        <table><tr><td>testing</td></tr></table>
        <table class="bc"><tr><td>testing</td></tr></table>
        <table class="it"><tr><td>testing</td></tr></table>
        <table class="bc it"><tr><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody style="overflow:hidden"><tr><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody><tr style="overflow:hidden"><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody><tr><td style="overflow:hidden">testing</td></tr></table>
      </div>
      <div class="cb">
        <p>testing</p>
        <x><span>testing</span></x>
        <button>testing</button>
        <select size=1><option>testing</select>
        <select size=3><option>testing<option>testing<option>testing</select>
        <object type="text/html" data="data:text/html,testing"></object>
        <table><tr><td>testing</td></tr></table>
        <table class="bc"><tr><td>testing</td></tr></table>
        <table class="it"><tr><td>testing</td></tr></table>
        <table class="bc it"><tr><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody style="overflow:hidden"><tr><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody><tr style="overflow:hidden"><td>testing</td></tr></table>
        <table style="overflow:visible"><tbody><tr><td style="overflow:hidden">testing</td></tr></table>
      </div>
    </body>
</html>