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

Side by Side Diff: LayoutTests/fast/table/table-toggle-paragraph-padding-expected.html

Issue 22589002: Margins on children of display:table-cell elements get stuck at highest value. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Simplify test case with Ref Test Created 7 years, 4 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 .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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698