Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / marginbox-width-exceeds-container-width.html
blobb64871a3b54575fd91bc5243f7b513d3eaa45075
1 <!DOCTYPE html>
2 <style>
3 body {
4 margin: 0;
6 .container{
7 padding-left:300px;
9 .inner-content{
10 width:96%;
11 height: 20px;
12 margin: auto;
13 margin-right: 300px;
14 background-color: green;
16 </style>
17 <script src="../../resources/check-layout.js"></script>
18 <body>
19 <p>crbug.com/331454: When the width of a non-replaced block flow element's margin box exceeds the available width, its margins are set to zero.</p>
20 <div class="container">
21 <div class="inner-content" data-expected-margin-left=0></div>
22 </div>
23 <script>
24 checkLayout(".inner-content");
25 </script>
26 </body>