Index: LayoutTests/fast/inline-block/float-no-whitespace.html |
diff --git a/LayoutTests/fast/inline-block/float-no-whitespace.html b/LayoutTests/fast/inline-block/float-no-whitespace.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2defbca2dcd0bebd763eadeaa63c66f4955c87cc |
--- /dev/null |
+++ b/LayoutTests/fast/inline-block/float-no-whitespace.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<title>Test Without Whitespace</title> |
+<style> |
+ div { height:30px; margin:0; padding:0; border:none; } |
+ .container { width:400px; } |
+ .floater { float:right; width:100px; background-color:green; } |
+ .middle { display:inline-block; width:300px; background-color:green; } |
+</style> |
+</head> |
+<body> |
+<p> There should be a single green rectangle below. </p> |
+<div class="container"><div class="middle"></div><div class="floater"></div></div> |
+<div class="container"><div class="middle"></div><div class="floater"></div></div> |
+</body> |
+</html> |