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> |