Index: LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html |
diff --git a/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html b/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..15671d626ed4d464d32a8ab3a6550d3ac4b43416 |
--- /dev/null |
+++ b/LayoutTests/fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html |
@@ -0,0 +1,44 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<head> |
+ <script> |
+ if (window.internals) |
+ window.internals.settings.setCSSExclusionsEnabled(true); |
+ </script> |
+ <style> |
+ #rectangle { |
+ font: 20px Ahem, sans-serif; |
+ line-height: 20px; |
+ -webkit-flow-into: flow; |
+ -webkit-font-smoothing: none; |
+ } |
+ #region { |
+ -webkit-flow-from: flow; |
+ width: 200px; |
+ height: 200px; |
+ -webkit-shape-inside: rectangle(50px, 50px, 100px, 100px); |
+ border: 2px solid green; |
+ } |
+ #border { |
+ position: absolute; |
+ top: 58px; |
+ left: 58px; |
+ width: 100px; |
+ height: 100px; |
+ border: 2px solid blue; |
+ } |
+ </style> |
+</head> |
+<body> |
+ <div id="rectangle"> |
+ X X<p> X<p> X</p></p><p>X X X X X X X X X X X X X X X X X X X</p> |
+ </div> |
+ |
+ <div id="page"> |
+ <div id="border"></div> |
+ <div id="region"></div> |
+ </div> |
+ <p style="margin-top: 100px;">Requires Ahem font. The shape-inside on the region is illustrated by the blue rectangle. The content should wrap inside the the blue rectangle, the overflow should start on the left under the content box.</p> |
+ <p>Bug <a href="http://webkit.org/b/116252">116252</a> [CSS Regions][CSS Exclusions] shape-inside on regions should respect positioned shapes and overflow</p> |
+</body> |
+</html> |