OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <style> | |
3 .cell { border: 5px solid pink; } | |
4 .cell .thinger { background-color: salmon; } | |
5 .cell { display:table-cell; } | |
6 </style> | |
7 | |
8 <body> | |
9 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d etail?id=241331">241331</a>. Margins on children of display:table-cell elements get stuck at highest value.</h3> | |
10 <h4>Row's before margin was not reseting back to 0 when margin of the cell's chi ld is changed from 40px to 0.</h4> | |
11 The two blocks below should look identical. | |
12 <br/><br/> | |
13 | |
14 <div> | |
15 <div class="cell">a</div> | |
16 <div class="cell"><div class="thinger">b</div></div> | |
17 </div> | |
18 <br> | |
19 <div> | |
20 <div class="cell">a</div> | |
21 <div class="cell"><div class="thinger toggle" style="margin:0px">b</div></di v> | |
Julien - ping for review
2013/08/08 22:15:51
The inline style declaration is unneeded, the init
| |
22 </div> | |
23 </body> | |
OLD | NEW |