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

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

Issue 2701163002: Avoid pathological layout on nested percent height tables (Closed)
Patch Set: 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 table-layout: fixed;
5 height: 100%;
6 width: 100%;
7 }
8 </style>
9 <p> crbug.com/691968: There should be no scrollbar. </p>
10 <div id="container" style="width: 400px; height: 400px; overflow: auto; overflow -x: hidden;">
11 <table id="table" data-expected-height=200>
12 <colgroup>
13 <col style="width: 1161px;">
mstensho (USE GERRIT) 2017/02/20 13:01:31 Is the insane width necessary? Are the COLGROUP an
rhogan 2017/02/20 18:38:16 Yes, otherwise m_columnLogicalWidthChanged gets se
mstensho (USE GERRIT) 2017/02/20 19:02:32 OK, thanks for explaining. I think I used border-s
14 </colgroup>
15 <tbody>
16 <tr>
17 <td></td>
18 </tr>
19 </tbody>
20 </table>
21 </div>
22 <div id="results"></div>
23 <script src="../../resources/check-layout.js"></script>
mstensho (USE GERRIT) 2017/02/20 13:01:31 Time to switch to check-layout-th.js , to avoid th
24 <script>
25 document.body.offsetTop;
26 document.getElementById("container").style.height = "200px";
27 checkLayout('#table', results);
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698