Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / cell-overflow-simplified-layout.html
blob3676d630f5f61d2711f801834bc20d3385f37faf
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .rel {
6 position: relative;
7 width: 150px;
9 .pos {
10 background-color: cyan;
11 position: absolute;
12 width: 100%;
13 top: 0;
14 left: 0;
16 </style>
17 </head>
18 <body>
19 <p>
20 Bug webkit.org/b/111977 : We should compute overflow from cells during simplified layout. The page should have a vertical scrollbar.
21 </p>
22 <table>
23 <tr>
24 <td>
25 <div class="rel">
26 <div class="pos"></div>
27 </div>
28 </td>
29 </tr>
30 </table>
31 <script>
32 var e = document.querySelector('.pos');
33 document.body.offsetHeight;
34 e.style.height = '800px';
35 </script>
36 </body>
37 </html>