Index: third_party/WebKit/LayoutTests/fast/dom/Element/offset-parent-transform.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Element/offset-parent-transform.html b/third_party/WebKit/LayoutTests/fast/dom/Element/offset-parent-transform.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3465aef4645005fb29d421d707841e58aafb2a98 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Element/offset-parent-transform.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<div id="transform" style="transform:translateX(1px);"> |
+ <div id="test"></div> |
+</div> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<script> |
+ test(function() { |
+ assert_equals(document.getElementById("test").offsetParent, document.getElementById("transform")); |
+ }, "inside transform"); |
+</script> |