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

Side by Side Diff: LayoutTests/fast/table/resize-table-width-using-col-width.html

Issue 208263013: Col width is not honored when dynamically updated and it would not make table narrower (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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 col { width: 200px; }
4 td { background-color: #66f; height: 25px; }
5 </style>
6 <script type="text/javascript">
7 onload = function () {
8 var col = document.getElementById('thecol');
9 col.offsetTop;
10 col.style.width="100px";
11 checkLayout("td", document.getElementById("test-output"));
12 }
13 </script>
14 <script src="../../resources/check-layout.js"></script>
15 Tests that the width of table cell changes on changing the colgroup width to new width.
16 <table>
17 <colgroup>
18 <col id="thecol">
19 </colgroup>
20 <tbody>
21 <tr>
22 <td data-expected-width="100"></td>
23 </tr>
24 </tbody>
25 </table>
26 <div id="test-output"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698