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

Side by Side Diff: LayoutTests/fast/table/fixed-table-layout-width-change.html

Issue 264283002: Table with fixed layout behaves like auto layout when its width is set by js instead of css. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified variable name and API in RenderStyle.h Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/table/fixed-table-layout-width-change-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5 function runTest() {
6 var outer = document.getElementById('outer');
7 outer.style.width = '100px';
8 window.checkLayout("#outer", document.getElementById("test-outpu t"));
9 };
10 </script>
11 <script src="../../resources/check-layout.js"></script>
12 <style>
13 #outer {
14 display: table;
15 table-layout: fixed;
16 }
17 #inner {
18 display: table-cell;
19 height: 50px;
20 background-color: green;
21 min-width: 200px;
22 }
23 </style>
24 </head>
25 <body onload="runTest()">
26 Tests that the table width having table-layout fixed changes when width is changed dynamically.
27 <div id="outer" data-expected-width="100">
28 <div id="inner"></div>
29 </div>
30 <div id="test-output"></div>
31 </body>
32 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/fixed-table-layout-width-change-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698