Index: LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html |
diff --git a/LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html b/LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ec7c69fa52e6583e367069fc56e1cf9fc12f8c96 |
--- /dev/null |
+++ b/LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+* { |
mstensho (USE GERRIT)
2015/07/09 19:21:47
There seriously has to exist a possible test case
|
+ margin-bottom: -3157%; |
+ clear: both; |
+} |
+</style> |
+<table align="left"></table> |
+<h2></h2> |
+<object></object> |
+<ul></ul> |
+<pre></pre> |
+<h5 data-expected-height=0></h5> |
+<p> crbug.com/501726: layout gets set on self-collapsing block during margin collapsing</p> |
+<script src="../../resources/check-layout.js"></script> |
+<script> |
+ checkLayout("h5"); |
+</script> |
+ |