Index: LayoutTests/fast/regions/shape-inside/shape-inside-with-region-padding-expected.html |
diff --git a/LayoutTests/fast/regions/shape-inside/shape-inside-with-region-padding-expected.html b/LayoutTests/fast/regions/shape-inside/shape-inside-with-region-padding-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53bf7279f8d5be7b8f4965638dfa34db62670d3b |
--- /dev/null |
+++ b/LayoutTests/fast/regions/shape-inside/shape-inside-with-region-padding-expected.html |
@@ -0,0 +1,31 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+ #region { |
+ font: 18px Ahem, sans-serif; |
+ line-height: 20px; |
+ width: 270px; |
+ height: 300px; |
+ background-color: orange; |
+ border: 1px solid black; |
+ padding-top: 10px; |
+ padding-bottom: 30px; |
+ padding-left: 90px; |
+ } |
+</style> |
+</head> |
+<body> |
+ |
+<div id="region"> |
+ XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
+ XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
+ XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
+ XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX |
+</div> |
+ |
+<p>Requires Ahem font. The content flows into a region (300px wide) what contains a shape-inside rectangle (200px wide) with 50px left offset.<br/> |
+The content should fill the shape-inside area out. The different paddings (top 10, right 20, bottom 30, left 40px) should be applied on the container. The padding shouldn't have any effect on the shape-inside's content. |
+<p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclusions] Shape-inside on regions should respect region borders and paddings</p> |
+</body> |
+</html> |