Index: third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html b/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c3da109dc88adfd54ec940370ed8873a7842b3b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/css/absolute-child-with-percent-padding-inside-relative-parent.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<style> |
+ .outer { |
+ position: relative; |
+ padding: 2em; |
+ width: 4em; |
+ background: black; |
+ } |
+ .inner { |
+ position: absolute; |
+ left: 0; |
+ top: 0; |
+ padding-left: 100%; |
+ } |
+</style> |
+<p>The word "PASS" should be seen below, to the right of a black rectangle.</p> |
+<div class="outer"> |
+ <div class="inner">PASS</div> |
+</div> |