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..1bd1abb7808f033094c80a5fa4baea009774a632 |
--- /dev/null |
+++ b/LayoutTests/fast/block/self-collapsing-block-gets-layout-during-margin-collapsing.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+h5 { |
+ margin-bottom: -3157%; |
+ clear: both; |
+} |
+</style> |
+<div style="float: left;"></div> |
+<h2></h2> |
+<img> |
+<h5></h5> |
+<h5 id="last"></h5> |
+<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> |
+ |