Index: LayoutTests/fast/css/bfc-percentage-margin.html |
diff --git a/LayoutTests/fast/css/bfc-percentage-margin.html b/LayoutTests/fast/css/bfc-percentage-margin.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d8c788345b3d28bdb7ce6803b78dc815725df906 |
--- /dev/null |
+++ b/LayoutTests/fast/css/bfc-percentage-margin.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<style> |
+#container { |
+ width: 400px; |
+} |
+ |
+.square { |
+ width: 100px; |
+ height: 100px; |
+ background-color: blue; |
+} |
+ |
+#float { |
+ float: left; |
+} |
+ |
+#bfc { |
+ margin-left: 30%; |
+ overflow: hidden; |
+} |
+</style> |
+<p>You should see two blue squares below.</p> |
+<div id="container"> |
+ <div id="float" class="square"></div> |
+ <div id="bfc" class="square"></div> |
+</div> |