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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/table/table-toggle-paragraph-padding-expected.html
diff --git a/LayoutTests/fast/table/table-toggle-paragraph-padding-expected.html b/LayoutTests/fast/table/table-toggle-paragraph-padding-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b222ea152db7ffbaa7ca9bf1e8bd15502bfac2cf
--- /dev/null
+++ b/LayoutTests/fast/table/table-toggle-paragraph-padding-expected.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<style>
+.cell { border: 5px solid pink; }
+.cell .thinger { background-color: salmon; }
+.cell { display:table-cell; }
+</style>
+
+<body>
+<h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=241331">241331</a>. Margins on children of display:table-cell elements get stuck at highest value.</h3>
+<h4>Row's before margin was not reseting back to 0 when margin of the cell's child is changed from 40px to 0.</h4>
+The two blocks below should look identical.
+<br/><br/>
+
+<div>
+ <div class="cell">a</div>
+ <div class="cell"><div class="thinger">b</div></div>
+</div>
+<br>
+<div>
+ <div class="cell">a</div>
+ <div class="cell"><div class="thinger toggle" style="margin:0px">b</div></div>
Julien - ping for review 2013/08/08 22:15:51 The inline style declaration is unneeded, the init
+</div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698