summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/replaced/container-width-zero.html
blob: 2412f11e06bad02e16504022080bb4a05adedca2 (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
<!DOCTYPE html>
<html>
    <head>
        <style>
            #leftBar {
                margin-right: 2500px;
            }
            #largeVideo {
                width: 100%;
                background-color: red;
            }
        </style>
        <script src="../../resources/check-layout.js"></script>
    </head>
    <body>
        <p> crbug.com/235189: If our container's width is zero, then so is ours: there should be no red.<p>
        <div id="leftBar">
            <video id="largeVideo" data-expected-width=0></video>
        </div>
        <script>
            checkLayout('#largeVideo');
        </script>
    </body>
</html>