Index: LayoutTests/transforms/2d/set-transform-and-top.html |
diff --git a/LayoutTests/transforms/2d/set-transform-and-top.html b/LayoutTests/transforms/2d/set-transform-and-top.html |
index 3ab525ff305824f67856956542ce170227378a95..bf5a1731a9c5e4317f51bdc1957454498e5d65f0 100644 |
--- a/LayoutTests/transforms/2d/set-transform-and-top.html |
+++ b/LayoutTests/transforms/2d/set-transform-and-top.html |
@@ -14,7 +14,7 @@ |
function checkPosition(id) { |
var element = document.getElementById(id); |
- var y = webkitConvertPointFromNodeToPage(element, new WebKitPoint(0,0)).y; |
+ var y = element.getBoundingClientRect().top; |
var resultString = ''; |
if (y > 250) { |