summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/table-rules-attribute-groups-with-frame.html
blob: f38f520fdfd6f3d121ef135d79360ad15f76aebc (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <title>CSS Test: 'groups' in the 'rules' attribute</title>
        <meta name="assert" content="The first table is a box with 2 horizontal lines.">
        <meta name="assert" content="The second table is a box with 2 vertical lines.">
        <meta name="assert" content="The third table has 2 vertical lines and 2 horizontal lines - like a tic-tac toe board.">
        <style type="text/css">
            td
            {
                height: 20px;
                width: 20px;
            }
        </style>
        <script>
            if (window.testRunner)
                testRunner.dumpAsTextWithPixelResults();
        </script>
    </head>
    <body>
        <table rules="groups" frame="box">
            <theader>
                <td></td>
                <td></td>
                <td></td>
            </theader>
            <tbody>
                <td></td>
                <td></td>
                <td></td>
            </tbody>
            <tbody>
                <td></td>
                <td></td>
                <td></td>
            </tbody>
        </table>
<br>
        <table rules="groups" frame="border">
            <colgroup></colgroup>
            <colgroup></colgroup>
            <colgroup></colgroup>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </table>

    </body>
<br>
        <table rules="groups" frame="void">
            <colgroup></colgroup>
            <colgroup></colgroup>
            <colgroup></colgroup>
            <theader>
                <td></td>
                <td></td>
                <td></td>
            </theader>
            <tbody>
                <td></td>
                <td></td>
                <td></td>
            </tbody>
            <tbody>
                <td></td>
                <td></td>
                <td></td>
            </tbody>
        </table>

    </body>
</html>