Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: LayoutTests/transforms/2d/set-transform-and-top.html

Issue 428533003: Remove webkitConvertPointFromPageToNode() and webkitConvertPointFromNodeToPage() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « LayoutTests/transforms/2d/cssmatrix-2d-zoom.html ('k') | LayoutTests/transforms/3d/general/cssmatrix-3d-zoom.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698