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

Unified Diff: LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set.html

Issue 1157863014: Self-collapsing blocks shouldn't get layout bit sit when handling margins (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 6 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/block/margin-collapse/self-collapsing-block-getting-layout-set.html
diff --git a/LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set.html b/LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set.html
new file mode 100644
index 0000000000000000000000000000000000000000..8ce28fadbd82e857393bebc07d0d304a5ec08273
--- /dev/null
+++ b/LayoutTests/fast/block/margin-collapse/self-collapsing-block-getting-layout-set.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+*{clear:right;border-style:inherit;}
+.float{float:left;}
+</style>
+<div class="float">
+ <ruby>
+ </ruby>
+ <ruby>
+ </ruby>
+</div>
+<div id="test-output">
+ crbug.com/479562: self-collapsing blocks getting layout set
+</div>
+<hr data-expected-height=0>
+<script src="../../../resources/check-layout.js"></script>
+<script type="text/javascript">
+ window.checkLayout("hr", document.getElementById("test-output"));
+</script>

Powered by Google App Engine
This is Rietveld 408576698