Index: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html |
diff --git a/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html b/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0ebb7f951aef70439125f81556000ccc2861c4de |
--- /dev/null |
+++ b/LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit-expected.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+.shape-inside { |
+ position: absolute; |
+ top: 0; |
+ left:0; |
+ width: 56px; |
+ height: 88px; |
+ padding-top: 12px; |
+ padding-left: 44px; |
+ background-color: green; |
+} |
+</style> |
+</head> |
+<body> |
+<div class="shape-inside"></div> |
+<p style="margin-top: 120px;">There is a triangle shape-inside applied on the green box. |
+The content should be inside the shape-inside. You should not see any red.</p> |
+<p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=333423">333423</a>: [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding in some polygons</p> |
+</body> |
+</html> |