Index: LayoutTests/fast/html/element-offset.html |
diff --git a/LayoutTests/fast/html/element-offset.html b/LayoutTests/fast/html/element-offset.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8b584d2a8d6f29e9a30fa1c7569a5a58356db2d2 |
--- /dev/null |
+++ b/LayoutTests/fast/html/element-offset.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+<script> |
+ |
+test(function () { |
+ var element = document.createElementNS(null, 'x'); |
+ element.offsetParent; |
+ element.offsetTop; |
+ element.offsetLeft; |
+ element.offsetWidth; |
+ element.offsetHeight; |
+ }, "element.offset*() should throw deprecation warning"); |
+ |
+</script> |
+</html> |