Index: LayoutTests/fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html |
diff --git a/LayoutTests/fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html b/LayoutTests/fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4e5db8f308208853fdb6aa7edfbc0ff5ed191f3f |
--- /dev/null |
+++ b/LayoutTests/fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html |
@@ -0,0 +1,38 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+ .region { |
+ font: 20px Ahem, sans-serif; |
+ float: left; |
+ margin-right: 10px; |
+ width: 300px; |
+ height: 300px; |
+ background-color: yellow; |
+ overflow: hidden; |
+ border: 1px solid blue; |
+ } |
+ #shape_inside { background-color: orange; } |
+ #placeholder { |
+ float: left; |
+ width: 50px; |
+ height: 300px; |
+ } |
+</style> |
+</head> |
+<body> |
+ |
+<div id="shape_inside" class="region"> |
+ <div id="placeholder"></div> |
+ Despite the passage of time, Major Quilan still suffers grief and bereavement from the death of his wife, killed during the Chelgrian civil war that resulted |
+</div> |
+ |
+<div class="region" style="float: none"> |
+ from the Culture's interference. Quilan is offered the chance to avenge the lost Chelgrians who died in the civil war and is inducted into a plot to strike back at the Culture. As part of the |
+</div> |
+ |
+<p>Requires Ahem font. The inline content flows into two regions, a 250x300px rectangle shape-inside property with 50px left offset is applied to the first (orange) region. The content should have a 50px left offset in the orange rectangle and should flow into second rectangle without any offset.<br/> |
+<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> |