summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1629575-2.html
blob: e8b5df190a5a425eea141ec276f2b87c10d23040 (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
<!DOCTYPE html>
<html><head>


    <style>
        .grid-container {
            display: grid;
            border: solid thick;
            margin: 10px;
        }

        .columns {
            grid-template-columns: repeat(auto-fill, 50px 50px);
            grid-auto-rows: 25px;
            grid-column-gap: 100px;
            width: 300px;
        }

        .rows {
            grid-auto-flow: column;
            grid-template-rows: repeat(auto-fill, 50px 50px);
            grid-auto-columns: 25px;
            grid-row-gap: 100px;
            width: min-content;
            height: 300px;
        }

        .grid-container>div {
            background: lime;
        }
    </style>

<style>
 div {  grid-column-start: first;}
</style>

</head>

<body>

    <div class="grid-container columns">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="grid-container columns"
        style="grid-template-columns: repeat(auto-fill, 50px 50px 50px)">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="grid-container columns"
        style="grid-template-columns: repeat(auto-fill, 50px 50px 50px 50px)">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
    <div class="grid-container rows">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>


</body></html>