Index: LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html |
diff --git a/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html b/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7012fba0e3958e7f23bbd79322ab1f0d459b4b1d |
--- /dev/null |
+++ b/LayoutTests/fast/css/abs-pos-child-inside-rel-pos-inline-001.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE HTML> |
+<link rel="author" title="Alan Gresley" href="alan[at]css-class.com"> |
+<link rel="author" title="Boris Zbarsky" href="bzbarsky[at]MIT.EDU"> |
+<link rel="author" title="Greg Whitworth" href="gwhit[at]microsoft.com"> |
+<link rel="author" title="GĂ©rard Talbot" href="www-style[at]gtalbot.org"> |
+<style> |
+ div#wrapper { font: 100px/1 Ahem; /* width: 200px; */ } |
+ div#wrapper span { color: green; border-bottom: 100px solid red; } |
+ div#rel-pos-inline { display: inline; position: relative; } |
+ div#abs-pos { background-color: green; position: absolute; height: 100px; width: 100px; } |
+</style> |
+<p>Test passes if there is no red.</p> |
+<div id="wrapper"> |
+ <span>X</span> |
+ <div id="rel-pos-inline"> |
+ <div id="abs-pos"> |
+ </div> |
+ </div> |
+</div> |