Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel-expected.html |
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel-expected.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d2df42e1570e90490106a60a5600b7aee2ef5b42 |
--- /dev/null |
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-one-pixel-expected.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+ #content { |
+ font: 50px/1 Ahem, sans-serif; |
+ -webkit-font-smoothing: antialiased; |
+ color: green; |
+ } |
+ #sandbag { |
+ float: left; |
+ width: 150px; |
+ height: 100px; |
+ } |
+</style> |
+</head> |
+<body> |
+ <p>The shape-outside in this test is a 2x2 image with only the upper left pixel set. The shape |
+ element's margin-box is and the the shape-margin is big enough (is greater than 150 * sqrt(2)) |
+ so that the shape-margin boundary extends beyond the margin-box's bounds. The shape-outside boundary |
+ is clipped to the margin-box, so it's as if the shape-outside was equal to the margin-box.</p> |
+ <div id="content"> |
+ <div id="sandbag"></div>X<br>X |
+ </div> |
+</body> |
+</html> |