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

Unified Diff: LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.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/fast/dom/Window/webkitConvertPointUpdateLayout.html
diff --git a/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html b/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html
deleted file mode 100644
index 0e42d43e6ae849fb2568f5bce5b1f58a18d3848c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
- <head>
- <title>webkitConvertPointFromNodeToPage Test</title>
- <script src="../../../resources/js-test.js"></script>
- <style type="text/css" media="screen">
-
- #test {
- position: absolute;
- left: 10px;
- top: 10px;
- width: 50px;
- height: 50px;
- background-color: blue;
- }
-
- </style>
-
- <script type="text/javascript" charset="utf-8">
- function doTest()
- {
- description("This test exercises the webkitConvertPointFromNodeToPage() function after changing the transform.");
-
- var node = document.getElementById('test');
- node.style.webkitTransform = 'translate(50px, 60px)';
- var p = webkitConvertPointFromNodeToPage(node, new WebKitPoint(0, 0));
- x = Math.round(p.x);
- y = Math.round(p.y);
- shouldBe('x', 60 + "");
- shouldBe('y', 70 + "");
-
- isSuccessfullyParsed();
- }
-
- window.onload = doTest;
- </script>
-
- </head>
- <body>
- <div id="test"></div>
-
- <div id="description" style="margin-top: 200px"></div>
- <div id="console"></div>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698