Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/layout-section-when-table-height-changes-3.html

Issue 2701163002: Avoid pathological layout on nested percent height tables (Closed)
Patch Set: bug 687061 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 table {
4 height: 100%;
5 width: 100%;
6 }
7 </style>
8 <p> crbug.com/691968: There should be no scrollbar. </p>
9 <div id="container" style="width: 400px; height: 400px; overflow: auto; overflow -x: hidden;">
10 <table id="table" data-expected-height=200>
11 <colgroup>
12 <col style="width: 1161px;">
13 </colgroup>
14 <tbody>
15 <tr>
16 <td></td>
17 </tr>
18 </tbody>
19 </table>
20 </div>
21 <div id="results"></div>
22 <script src="../../resources/testharness.js"></script>
23 <script src="../../resources/testharnessreport.js"></script>
24 <script src="../../resources/check-layout-th.js"></script>
25 <script>
26 document.body.offsetTop;
27 document.getElementById("container").style.height = "200px";
28 checkLayout('#table', results);
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698